cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject git commit: Fixed CLI error while adding amazon-fireos platform.
Date Tue, 26 Nov 2013 22:36:52 GMT
Updated Branches:
  refs/heads/fireos 452566f71 -> 6b0c7fb19


Fixed CLI error while adding amazon-fireos platform.


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/6b0c7fb1
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/6b0c7fb1
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/6b0c7fb1

Branch: refs/heads/fireos
Commit: 6b0c7fb19e7a9c816de9146ebb46acfb8f0f3355
Parents: 452566f
Author: Archana Naik <naika@lab126.com>
Authored: Tue Nov 26 13:52:16 2013 -0800
Committer: Archana Naik <naika@lab126.com>
Committed: Tue Nov 26 13:52:16 2013 -0800

----------------------------------------------------------------------
 src/metadata/amazon_fireos_parser.js | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/6b0c7fb1/src/metadata/amazon_fireos_parser.js
----------------------------------------------------------------------
diff --git a/src/metadata/amazon_fireos_parser.js b/src/metadata/amazon_fireos_parser.js
index dbbfcbc..4038365 100644
--- a/src/metadata/amazon_fireos_parser.js
+++ b/src/metadata/amazon_fireos_parser.js
@@ -140,6 +140,12 @@ module.exports.prototype = {
         return this.android_config;
     },
 
+     // Used for creating platform_www in projects created by older versions.
+    cordovajs_path:function(libDir) {
+        var jsPath = path.join(libDir, 'framework', 'assets', 'www', 'cordova.js');
+        return path.resolve(jsPath);
+    },
+    
     update_www:function() {
         var projectRoot = util.isCordova(this.path);
         var www = util.projectWww(projectRoot);


Mime
View raw message