You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by gt...@apache.org on 2013/01/29 03:49:07 UTC

[17/17] git commit: Renamed b2g to firefoxos

Updated Branches:
  refs/heads/cordova-firefoxos [created] 3608640e4


Renamed b2g to firefoxos


Project: http://git-wip-us.apache.org/repos/asf/cordova-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-labs/commit/3608640e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-labs/tree/3608640e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-labs/diff/3608640e

Branch: refs/heads/cordova-firefoxos
Commit: 3608640e45bd298e5c40fba6a9457c8fa3ed145e
Parents: ae7bbd7
Author: Gord Tanner <gt...@gmail.com>
Authored: Mon Jan 28 21:46:52 2013 -0500
Committer: Gord Tanner <gt...@gmail.com>
Committed: Mon Jan 28 21:46:52 2013 -0500

----------------------------------------------------------------------
 README.md                       |   14 +-
 bin/create                      |    2 +-
 javascript/cordova.b2g.js       | 5705 ----------------------------------
 javascript/cordova.firefoxos.js | 5702 +++++++++++++++++++++++++++++++++
 4 files changed, 5710 insertions(+), 5713 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/3608640e/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 0b9c649..a840494 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ Introduction
 
 Firefox OS is an open source operating system for smartphones and tablet computers being developed by Mozilla. It is designed to allow HTML5 applications to integrate directly with the device's hardware using JavaScript.
 
-cordova-b2g allows developers to use the cross platform APIs in Cordova to target the Firefox OS. Most APIs are just proxied to the matching Firefox OS API calls.
+cordova-firefoxos allows developers to use the cross platform APIs in Cordova to target the Firefox OS. Most APIs are just proxied to the matching Firefox OS API calls.
 
 
 Getting Started
@@ -23,15 +23,15 @@ A lot of good documentation is available on the [Mozilla Developer Network](http
 
 A simulator (runs as a Firefox plugin) is availble [here](http://people.mozilla.org/~myk/r2d2b2g/)
 
-Installing the cordova-b2g framework
+Installing the cordova-firefoxos framework
 ====================================
 
-Cloning the cordova-b2g repository always provides you with the latest (EDGE) version of the Cordova code.  To clone the repository, do the following:
+Cloning the cordova-firefoxos repository always provides you with the latest (EDGE) version of the Cordova code.  To clone the repository, do the following:
 
     $ cd ~/some/path
-    $ git clone https://github.com/gtanner/cordova-b2g.git
+    $ git clone https://github.com/gtanner/cordova-firefoxos.git
 
-Cordova B2G Developer Tools
+Cordova Firefox OS Developer Tools
 ---------------------------
 
 The Cordova developer tooling is split between general tooling and project level tooling.  Currently the tooling will only work on OSX or Linux.
@@ -55,13 +55,13 @@ needed to install like you would from an app store.
 You may also use the simluator and Add the www directory to it (point at the manifest.webapp) in that folder. This will
 allow you to refresh the app easier when developing.
 
-#### Creating a new Cordova B2G
+#### Creating a new Cordova Firefox OS Project
 
     ./bin/create ~/Desktop/myapp MyApp
 
 ### Project Commands
 
-These commands live in a generated Cordova B2G project. 
+These commands live in a generated Cordova FirefoxOS project. 
 
     ./cordova/run ............................ install to a connected device or simulator
     ./cordova/build .......................... build project, but do not deploy to simulator or device

http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/3608640e/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index 31b81db..6857cdd 100755
--- a/bin/create
+++ b/bin/create
@@ -65,7 +65,7 @@ cp -r $BUILD_PATH/framework/ $PROJECT_PATH/www
 cp -r $BUILD_PATH/framework/install.html $PROJECT_PATH/www/install.html
 
 echo "Building cordova-$VERSION.js ..."
-cp $BUILD_PATH/javascript/cordova.b2g.js $PROJECT_PATH/www/cordova-$VERSION.js
+cp $BUILD_PATH/javascript/cordova.firefoxos.js $PROJECT_PATH/www/cordova-$VERSION.js
 
 # interpolate the app name into manifest.webapp
 echo "Updating manifest.webapp ..."