Skip to content

Commit

Permalink
Update README for cordova.js VERSION change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Walters committed May 9, 2012
1 parent 0335483 commit 6df5dbe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Expand Up @@ -5,11 +5,10 @@ These specs are designed to run inside the mobile device that implements it - _i
These set of tests is designed to be used with Cordova. You should initialize a fresh Cordova repository for a target platform and then toss these files into the www folder, replacing the
contents.

Make sure you include Cordova-\*.js in the www folder. You also need to edit Cordova.js to reference the Cordova-\*.js file you are testing.
For example, to test with Cordova-0.9.6.1, the Cordova.js file would be:
Make sure you include cordova-\*.js in the www folder. You also need to edit cordova.js to reference the version of cordova-\*.js file you are testing.
For example, to test with cordova-0.9.6.1, edit the VERSION variable in the cordova.js file as follows:

document.write('<script type="text/javascript" charset="utf-8" src="../Cordova-0.9.6.1.js"></script>');
document.write('<script type="text/javascript" charset="utf-8" src="Cordova-0.9.6.1.js"></script>');
var VERSION='0.9.6.1';

This is done so that you don't have to modify every HTML file when you want to test a new version of Cordova.

Expand Down

0 comments on commit 6df5dbe

Please sign in to comment.