You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2014/03/27 15:22:22 UTC

[13/34] js commit: CB-6321 Added cordova integration info to README

CB-6321 Added cordova integration info to README


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/607ca9dc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/607ca9dc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/607ca9dc

Branch: refs/heads/browserify
Commit: 607ca9dc06d622d7db23d709afd514759db4c098
Parents: f51183b
Author: Staci Cooper <sm...@us.ibm.com>
Authored: Thu Mar 20 13:53:45 2014 -0400
Committer: Marcel Kinard <cm...@gmail.com>
Committed: Thu Mar 20 17:16:40 2014 -0400

----------------------------------------------------------------------
 README.md | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/607ca9dc/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 8a0bb79..cddb17a 100644
--- a/README.md
+++ b/README.md
@@ -55,6 +55,8 @@ All of the build tasks can be run via the `grunt` node module. Install it global
 Then from the repository root run:
 
     grunt
+	
+For integration, see the 'Integration' section below.
 
 ## Known Issues
 
@@ -92,7 +94,11 @@ Final testing should always be done with the [Mobile Spec test application](http
 
 ## Cordova
 
-Build the .js file and drop it in as a replacement for cordova.js.
+Build the js files by running grunt as described above. Update each platform independently. For a given platform:
+
+Replace the cordova.js file in the cordova-PLATFORM directory with the newly generated cordova.PLATFORM.js file. If necessary, change the name of the new file to match that of the overwritten one.
+
+Once the new js file has been added, any new projects created will use the updated js. To update an already existing project, directly replace the cordova.js file within the project's www/ folder with the generated cordova.PLATFORM.js. Make sure to change the file name to match the original.
 
 # Adding a New Platform