RE: Cordova-js update

2015-05-22 Thread Nikhil Khandelwal
contents of the cordova- need to be copied to node_modules of cordova.js *before* generating the cordova.js. Thanks, Nikhil -Original Message- From: Steven Gill [mailto:stevengil...@gmail.com] Sent: Thursday, May 21, 2015 8:27 PM To: dev@cordova.apache.org Subject: Re: Cordova-js update This

Re: Cordova-js update

2015-05-21 Thread Steven Gill
This change was made so we could get the browserify workflow working well. The main advantage of the browserify workflow is build time inclusion of plugins javascript instead of runtime. Our old way, we use cordova_plugins.js to inject the javascript of every plugin at runtime. With the browserify

RE: Cordova-js update

2015-05-21 Thread Nikhil Khandelwal
I'm new to this area. Steve: Can you provide some background on the motivation for this change? In particular, what is the advantage of this workflow, over the existing one: I have also made some changes to cordova-lib which will copy the contents of cordova-js-src into platform_www when a proj