cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [2/2] js commit: reverting license header
Date Thu, 18 Dec 2014 05:13:59 GMT
reverting license header


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/10ffabbd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/10ffabbd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/10ffabbd

Branch: refs/heads/master
Commit: 10ffabbd64eb74e345526739d72ab03b682c4793
Parents: bfd57df
Author: Anis Kadri <anis@apache.org>
Authored: Wed Dec 17 20:53:16 2014 -0800
Committer: Anis Kadri <anis@apache.org>
Committed: Wed Dec 17 20:53:16 2014 -0800

----------------------------------------------------------------------
 tasks/lib/write-license-header.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/10ffabbd/tasks/lib/write-license-header.js
----------------------------------------------------------------------
diff --git a/tasks/lib/write-license-header.js b/tasks/lib/write-license-header.js
index f88969d..9c5ffe2 100644
--- a/tasks/lib/write-license-header.js
+++ b/tasks/lib/write-license-header.js
@@ -33,5 +33,7 @@ module.exports = function(outStream, platform, commitId, platformVersion,
symbol
   outStream.write("// browserify" + "\n", 'utf8');
   outStream.write(licenseText, 'utf8');
   outStream.write("var PLATFORM_VERSION_BUILD_LABEL = '"  + platformVersion + "';\n", 'utf8');
-  outStream.write(util.format("var symbolList = %s;\n\n", JSON.stringify(symbolList)), 'utf8');
+  outStream.write("var define = {moduleMap: []};\n", 'utf8');
+  outStream.write(util.format("var symbolList = %s", JSON.stringify(symbolList)), 'utf8');
+
 }


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


Mime
View raw message