[ 
https://issues.apache.org/jira/browse/CB-8802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14637114#comment-14637114
 ] 

Steve Gill commented on CB-8802:
--------------------------------

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.

> Investigate issue with browserify and test-framework
> ----------------------------------------------------
>
>                 Key: CB-8802
>                 URL: https://issues.apache.org/jira/browse/CB-8802
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Plugin TestFramework
>            Reporter: Steve Gill
>            Assignee: Steve Gill
>
>  An issue with test-framework main.js not being browserified properly. Need 
> to investigate. 



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