[jira] [Updated] (CB-11311) cordova-plugin-wkwebview-engine not working with --browserify flag
[ https://issues.apache.org/jira/browse/CB-11311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-11311: -- Labels: backlog tools-next wkwebview-baked-in wkwebview-known-issues (was: backlog tools-next) > cordova-plugin-wkwebview-engine not working with --browserify flag > -- > > Key: CB-11311 > URL: https://issues.apache.org/jira/browse/CB-11311 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-wkwebview-engine >Affects Versions: 4.1.1 > Environment: OS X 10.11 > Cordova CLI 6.1.1 > Cordova iOS 4.1.1 > cordova-plugin-wkwebview-engine 1.0.3 >Reporter: Wilson Yang >Priority: Major > Labels: backlog, tools-next, wkwebview-baked-in, > wkwebview-known-issues > > The code below for replace the exec bridge is not compatible with browserify > {code:javascript} > // unregister the old bridge > cordova.define.remove('cordova/exec'); > // redefine bridge to our new bridge > cordova.define("cordova/exec", function(require, exports, module) { > module.exports = execProxy; > }); > {code} > After using browserify flag, all scripts for www will be packed into > cordova.js as single file. At the same time, the `cordova.define` become > undefined. > {code} > TypeError: undefined is not an object (evaluating 'cordova.define.remove') > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-11311) cordova-plugin-wkwebview-engine not working with --browserify flag
[ https://issues.apache.org/jira/browse/CB-11311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-11311: Labels: backlog tools-next (was: ) > cordova-plugin-wkwebview-engine not working with --browserify flag > -- > > Key: CB-11311 > URL: https://issues.apache.org/jira/browse/CB-11311 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-wkwebview-engine >Affects Versions: 4.1.1 > Environment: OS X 10.11 > Cordova CLI 6.1.1 > Cordova iOS 4.1.1 > cordova-plugin-wkwebview-engine 1.0.3 >Reporter: Wilson Yang > Labels: backlog, tools-next > > The code below for replace the exec bridge is not compatible with browserify > {code:javascript} > // unregister the old bridge > cordova.define.remove('cordova/exec'); > // redefine bridge to our new bridge > cordova.define("cordova/exec", function(require, exports, module) { > module.exports = execProxy; > }); > {code} > After using browserify flag, all scripts for www will be packed into > cordova.js as single file. At the same time, the `cordova.define` become > undefined. > {code} > TypeError: undefined is not an object (evaluating 'cordova.define.remove') > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-11311) cordova-plugin-wkwebview-engine not working with --browserify flag
[ https://issues.apache.org/jira/browse/CB-11311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl Pogue updated CB-11311: -- Assignee: (was: Darryl Pogue) > cordova-plugin-wkwebview-engine not working with --browserify flag > -- > > Key: CB-11311 > URL: https://issues.apache.org/jira/browse/CB-11311 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin WKWebViewEngine >Affects Versions: 4.1.1 > Environment: OS X 10.11 > Cordova CLI 6.1.1 > Cordova iOS 4.1.1 > cordova-plugin-wkwebview-engine 1.0.3 >Reporter: Wilson Yang > > The code below for replace the exec bridge is not compatible with browserify > {code:javascript} > // unregister the old bridge > cordova.define.remove('cordova/exec'); > // redefine bridge to our new bridge > cordova.define("cordova/exec", function(require, exports, module) { > module.exports = execProxy; > }); > {code} > After using browserify flag, all scripts for www will be packed into > cordova.js as single file. At the same time, the `cordova.define` become > undefined. > {code} > TypeError: undefined is not an object (evaluating 'cordova.define.remove') > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-11311) cordova-plugin-wkwebview-engine not working with --browserify flag
[ https://issues.apache.org/jira/browse/CB-11311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wilson Yang updated CB-11311: - Description: The code below for replace the exec bridge is not compatible with browserify {code:javascript} // unregister the old bridge cordova.define.remove('cordova/exec'); // redefine bridge to our new bridge cordova.define("cordova/exec", function(require, exports, module) { module.exports = execProxy; }); {code} After using browserify flag, all scripts for www will be packed into cordova.js as single file. At the same time, the `cordova.define` become undefined. {code} TypeError: undefined is not an object (evaluating 'cordova.define.remove') {code} was: The code below for replace the exec bridge is not compatible with browserify {code:javascript} // unregister the old bridge cordova.define.remove('cordova/exec'); // redefine bridge to our new bridge cordova.define("cordova/exec", function(require, exports, module) { module.exports = execProxy; }); {code} After using browserify flag, the all scripts for www will be packed into cordova.js And after that, the cordova.define become undefined. {code} TypeError: undefined is not an object (evaluating 'cordova.define.remove') {code} > cordova-plugin-wkwebview-engine not working with --browserify flag > -- > > Key: CB-11311 > URL: https://issues.apache.org/jira/browse/CB-11311 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin WKWebViewEngine >Affects Versions: 4.1.1 > Environment: OS X 10.11 > Cordova CLI 6.1.1 > Cordova iOS 4.1.1 > cordova-plugin-wkwebview-engine 1.0.3 >Reporter: Wilson Yang > > The code below for replace the exec bridge is not compatible with browserify > {code:javascript} > // unregister the old bridge > cordova.define.remove('cordova/exec'); > // redefine bridge to our new bridge > cordova.define("cordova/exec", function(require, exports, module) { > module.exports = execProxy; > }); > {code} > After using browserify flag, all scripts for www will be packed into > cordova.js as single file. At the same time, the `cordova.define` become > undefined. > {code} > TypeError: undefined is not an object (evaluating 'cordova.define.remove') > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org