[
https://issues.apache.org/jira/browse/CB-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Grieve resolved CB-2526.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.6.0
Assignee: Andrew Grieve (was: Filip Maj)
Okay, you've convinced me :). Thanks for the work-around code. I've modified it
to use a for-each loop and checked it in:
https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=commit;h=efefa97dfe97a05aaad7d2d283b672ebf313a8f7
> Cordova messes with global "navigator", renders navigator.getGamepads()
> useless
> -------------------------------------------------------------------------------
>
> Key: CB-2526
> URL: https://issues.apache.org/jira/browse/CB-2526
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: 2.4.0
> Reporter: Daniel Wirtz
> Assignee: Andrew Grieve
> Priority: Minor
> Fix For: 2.6.0
>
>
> Cordova messes with the global "navigator" object and renders a call to
> navigator.webkitGetGamepads useless - throws Illegal Invocation Exception
> with Cordova, works without.
> Workaround: Keep another reference to "navigator" before loading
> cordova-2.X.X.js.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira