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 2013/12/06 02:13:47 UTC
[31/32] git commit: Fixed CLI error while adding amazon-fireos
platform.
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 <na...@lab126.com>
Authored: Tue Nov 26 13:52:16 2013 -0800
Committer: Steven Gill <st...@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);