You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/02/22 18:42:12 UTC
[jira] [Commented] (CB-2526) Cordova messes with global
"navigator", renders navigator.getGamepads() useless
[ https://issues.apache.org/jira/browse/CB-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584475#comment-13584475 ]
Andrew Grieve commented on CB-2526:
-----------------------------------
What platform does this occur on?
> 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: Filip Maj
>
> 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