cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [1/2] git commit: add firefoxos
Date Fri, 23 Aug 2013 22:18:10 GMT
Updated Branches:
  refs/heads/ffos [created] 0192d1ab2


add firefoxos


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/939ed3de
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/939ed3de
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/939ed3de

Branch: refs/heads/ffos
Commit: 939ed3de685df212a8e496bd562f5b751c0cb53b
Parents: 0c0e094
Author: James Long <longster@gmail.com>
Authored: Wed Aug 14 15:38:09 2013 -0400
Committer: James Long <longster@gmail.com>
Committed: Wed Aug 14 15:38:09 2013 -0400

----------------------------------------------------------------------
 src/platforms.js           | 3 ++-
 src/platforms/firefoxos.js | 7 +++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/939ed3de/src/platforms.js
----------------------------------------------------------------------
diff --git a/src/platforms.js b/src/platforms.js
index 5d879b7..bcd2613 100644
--- a/src/platforms.js
+++ b/src/platforms.js
@@ -4,5 +4,6 @@ module.exports = {
     'blackberry10': require('./platforms/blackberry10'),
     'wp7': require('./platforms/wp7'),
     'wp8': require('./platforms/wp8'),
-    'windows8' : require('./platforms/windows8')
+    'windows8' : require('./platforms/windows8'),
+    'firefoxos': require('./platforms/firefoxos')
 };

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/939ed3de/src/platforms/firefoxos.js
----------------------------------------------------------------------
diff --git a/src/platforms/firefoxos.js b/src/platforms/firefoxos.js
new file mode 100644
index 0000000..d177318
--- /dev/null
+++ b/src/platforms/firefoxos.js
@@ -0,0 +1,7 @@
+var path = require('path');
+
+module.exports = {
+    www_dir: function(project_dir) {
+        return path.join(project_dir, 'www');
+    }
+};


Mime
View raw message