cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [09/50] git commit: CB-7228: Fixed issue with "cordova prepare --browserify"
Date Fri, 05 Sep 2014 18:14:14 GMT
CB-7228: Fixed issue with "cordova prepare --browserify"


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/5431468e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/5431468e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/5431468e

Branch: refs/heads/master
Commit: 5431468e53dd0984387d3978653a2d4eb72e07df
Parents: 429292f
Author: Suraj Pindoria <suraj.pindoria@yahoo.com>
Authored: Mon Aug 4 16:36:27 2014 -0700
Committer: Anis Kadri <anis@apache.org>
Committed: Fri Sep 5 11:12:17 2014 -0700

----------------------------------------------------------------------
 cordova-lib/src/cordova/prepare.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/5431468e/cordova-lib/src/cordova/prepare.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/prepare.js b/cordova-lib/src/cordova/prepare.js
index 529cbf0..c69a4d7 100644
--- a/cordova-lib/src/cordova/prepare.js
+++ b/cordova-lib/src/cordova/prepare.js
@@ -97,8 +97,10 @@ function prepare(options) {
 
             if (options.browserify) {
                 plugman.prepare = require('../plugman/prepare-browserify');
+                plugman.prepare(platformPath, platform, plugins_dir, false, true);
+            } else {
+                plugman.prepare(platformPath, platform, plugins_dir);
             }
-            plugman.prepare(platformPath, platform, plugins_dir);
 
             // Make sure that config changes for each existing plugin is in place
             var munger = new plugman.config_changes.PlatformMunger(platform, platformPath,
plugins_dir);


Mime
View raw message