[
https://issues.apache.org/jira/browse/CB-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah resolved CB-1216.
----------------------------------
Resolution: Not A Problem
This was an undocumented feature, and only on iOS. It has been replaced by
window.orientation, which is built in to iOS 5.0 and up (we polyfill it for
earlier iOS versions)
See:
http://developer.apple.com/library/safari/#documentation/DataManagement/Reference/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html
> Orientation change listener failed when Orientation constructor is removed
> from 1.6.0 version
> ---------------------------------------------------------------------------------------------
>
> Key: CB-1216
> URL: https://issues.apache.org/jira/browse/CB-1216
> Project: Apache Cordova
> Issue Type: Improvement
> Components: iOS
> Affects Versions: 1.6.0, 1.7.0
> Environment: Mac
> Reporter: Ranganadh Paramkusam
> Assignee: Shazron Abdullah
> Labels: javascript
> Fix For: Master, 2.2.0
>
> Original Estimate: 720h
> Remaining Estimate: 720h
>
> Orientation constructor is present upto Cordova 1.5.0, By removing
> Orientation constructor from 1.6.0, orientation change is not triggered.
> Please add the constructor in the next version.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira