cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [31/32] git commit: Fixed CLI error while adding amazon-fireos platform.
Date Fri, 06 Dec 2013 01:13:47 GMT
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/ba47aa7d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/ba47aa7d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/ba47aa7d

Branch: refs/heads/fireos
Commit: ba47aa7da2a158ed9b38d07bf3f1011cefb881fb
Parents: 2eaff19
Author: Archana Naik <naika@lab126.com>
Authored: Tue Nov 26 13:52:16 2013 -0800
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Thu Dec 5 17:07:28 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/ba47aa7d/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