Tim Barham created CB-8971:
------------------------------

             Summary: 'Duplicate cordova' check breaks Ripple
                 Key: CB-8971
                 URL: https://issues.apache.org/jira/browse/CB-8971
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaJS
    Affects Versions: 5.0.0
            Reporter: Tim Barham


Ripple defines a setter for {{window.cordova}} so it can intercapt the 
{{cordova}} object being created, and patch {{cordova.exec}}. This breaks the 
new 'duplicate cordova' check, which looks for {{'cordova' in window}}, which 
will return {{true}} in Ripple. The alternative, {{window.cordova}}, will work, 
since that remains undefined in Ripple.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to