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/09/12 20:15:06 UTC
[38/40] git commit: add firefoxos
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/f7cf8604
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/f7cf8604
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/f7cf8604
Branch: refs/heads/ffos
Commit: f7cf8604f60efec6de8ad9ab4e5d362133ae9e29
Parents: 7bd0266
Author: James Long <lo...@gmail.com>
Authored: Wed Aug 14 15:38:09 2013 -0400
Committer: Steven Gill <st...@gmail.com>
Committed: Thu Sep 12 11:13:07 2013 -0700
----------------------------------------------------------------------
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/f7cf8604/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/f7cf8604/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');
+ }
+};