cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [3/6] cordova-lib git commit: CB-8965 passing platform as argument when getting symbolList
Date Mon, 18 May 2015 23:22:45 GMT
CB-8965 passing platform as argument when getting symbolList


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

Branch: refs/heads/master
Commit: 0f88a00c386de61e3535a91883000c25dad745fb
Parents: 350bb9e
Author: Steve Gill <stevengill97@gmail.com>
Authored: Fri May 15 17:05:11 2015 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Fri May 15 17:05:11 2015 -0700

----------------------------------------------------------------------
 cordova-lib/src/plugman/prepare-browserify.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/0f88a00c/cordova-lib/src/plugman/prepare-browserify.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/prepare-browserify.js b/cordova-lib/src/plugman/prepare-browserify.js
index 4691ba5..dc81c6e 100644
--- a/cordova-lib/src/plugman/prepare-browserify.js
+++ b/cordova-lib/src/plugman/prepare-browserify.js
@@ -69,7 +69,7 @@ function generateFinalBundle(platform, libraryRelease, outReleaseFile, commitId,
 
     var addSymbolList = through.obj(function(row, enc, next) {
         if(symbolList === null) {
-            symbolList = requireTr.getModules();
+            symbolList = requireTr.getModules(platform);
             this.push(util.format('var symbolList = %s;\n%s\n', JSON.stringify(symbolList),
row));
         } else {
             this.push(row);
@@ -231,13 +231,13 @@ module.exports = function handlePrepare(project_dir, platform, plugins_dir,
www_
         events.emit('verbose', 'Writing out cordova_plugins.js...');
         fs.writeFileSync(path.join(wwwDir, 'cordova_plugins.js'), cordova_plugins, 'utf8');
 
-        libraryRelease.transform(requireTr.transform);
+        //libraryRelease.transform(requireTr.transform);
 
         scripts.forEach(function(script) {
             libraryRelease.add(script);
         });
 
         var outReleaseFile = path.join(wwwDir, 'cordova.js');
-        return generateFinalBundle(platform, libraryRelease, outReleaseFile, commitId, platformVersion,
requireTr.getModules());
+        return generateFinalBundle(platform, libraryRelease, outReleaseFile, commitId, platformVersion,
requireTr.getModules(platform));
     });
 };


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message