You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/12/13 02:07:26 UTC

cordova-lib git commit: browserify: updated require to use symbollist

Repository: cordova-lib
Updated Branches:
  refs/heads/master 61c1c2862 -> 6b022a9fc


browserify: updated require to use 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/6b022a9f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/6b022a9f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/6b022a9f

Branch: refs/heads/master
Commit: 6b022a9fc40c96d6924a73e6da420e73485a2169
Parents: 61c1c28
Author: Steve Gill <st...@gmail.com>
Authored: Fri Dec 12 17:07:11 2014 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Fri Dec 12 17:07:19 2014 -0800

----------------------------------------------------------------------
 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/6b022a9f/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 5e4c81b..6c3ac82 100644
--- a/cordova-lib/src/plugman/prepare-browserify.js
+++ b/cordova-lib/src/plugman/prepare-browserify.js
@@ -61,12 +61,12 @@ function uninstallQueuedPlugins(platform_json, wwwDir) {
     }
 }
 
-function generateFinalBundle(platform, libraryRelease, outReleaseFile, commitId, platformVersion) {
+function generateFinalBundle(platform, libraryRelease, outReleaseFile, commitId, platformVersion, symbolList) {
 
     var outReleaseFileStream = fs.createWriteStream(outReleaseFile);
     var time = new Date().valueOf();
 
-    writeLicenseHeader(outReleaseFileStream, platform, commitId, platformVersion);
+    writeLicenseHeader(outReleaseFileStream, platform, commitId, platformVersion, symbolList);
 
     var releaseBundle = libraryRelease.bundle();
 
@@ -204,7 +204,7 @@ module.exports = function handlePrepare(project_dir, platform, plugins_dir, www_
 
                 var outReleaseFile = path.join(wwwDir, 'cordova.js');
 
-                generateFinalBundle(platform, libraryRelease, outReleaseFile, commitId, platformVersion);
+                generateFinalBundle(platform, libraryRelease, outReleaseFile, commitId, platformVersion, requireTr.getModules());
             } 
         });
     });


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