You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Gill (JIRA)" <ji...@apache.org> on 2015/07/22 18:00:05 UTC
[jira] [Closed] (CB-9395) Mobile-spec browserify doesn't work due
to error with cordova-plugin-test-framework
[ https://issues.apache.org/jira/browse/CB-9395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Gill closed CB-9395.
--------------------------
Resolution: Duplicate
> 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
> Labels: duplicate
>
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org