cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Santana <csantan...@gmail.com>
Subject Re: Why do we copy cordova-js-src/ to runtime www/?
Date Wed, 16 Dec 2015 20:54:46 GMT
I don't follow
Even if using browserfy the final www/ in the app should not have
cordova-src-js
and should not have cordova_plugins.js


On Wed, Dec 16, 2015 at 2:24 PM So, Byoungro <byoungro.so@intel.com> wrote:

> Hi Carlos,
>
> The purpose of copying cordova-js-src is to support cordova.js for
> browserify.
> It would be redundant if  --browserify option is not used.
> I can change the code to not copy cordova-js-src dir into platform_www by
> checking the option.
>
> Byoungro So
> SSG / DPD / Mobile Computing and Compilers
> Intel Corporation
>
> -----Original Message-----
> From: Carlos Santana [mailto:csantana23@gmail.com]
> Sent: Wednesday, December 16, 2015 8:21 AM
> To: dev@cordova.apache.org
> Subject: Why do we copy cordova-js-src/ to runtime www/?
>
> I just notice that the www for android and ios contains a directory
> "cordova-js-src"
>
> In iOS in the lib/create.js is where we copy this to platform_www [1] this
> is why it ends up in the App's www.
> AFAIK this files are not used by the app because the content of exec.js
> platform.js is already in cordova.js
>
> Is this a bug, or not?
>
> [1]:
> https://github.com/apache/cordova-ios/blob/master/bin/lib/create.js#L42
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message