Steve Gill created CB-9395:
------------------------------

             Summary: Mobile-spec browserify doesn't work due to error with 
cordova-plugin-test-framework
                 Key: CB-9395
                 URL: https://issues.apache.org/jira/browse/CB-9395
             Project: Apache Cordova
          Issue Type: Sub-task
          Components: mobile-spec, Plugin TestFramework
            Reporter: Steve Gill


main-bootstrap.js (which is part of the app itself) wants to do 
cordova.require('cordova-plugin-test-framework.main').init();

Problem is, cordova-plugin-test-framework.main isn't in our symbol list.

We could add all plugins to our symbolList, but I think we want to move away 
from using cordova.require in apps and eventually not need the symbolList.

Solution: change that line in cordova-plugin-test-framework. Give a namespace 
to cordova-plugin-test-framework.main that can be referenced by 
main-bootstap.js instead. 

Example main could clobber window.testframework.






--
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