Skip to content
Browse files
add JIRA issue tracker link
  • Loading branch information
revolunet committed Sep 10, 2015
1 parent 064b25a commit 75c8ba43326e70303518645540647f294410db6d
Showing 1 changed file with 7 additions and 4 deletions.
@@ -26,14 +26,17 @@

A unified JavaScript layer for [Apache Cordova]( projects.

:warning: Report issues on the [Apache Cordova issue tracker](

# Project Structure

| |-cordova.js ........ common Cordova stuff
| |-common/ ........... base modules shared across platfoms
| | |-builder.js ..... injects in our classes onto window and navigator
| | |-channel.js ..... pub/sub impl for custom framework events
| | |-channel.js ..... pub/sub impl for custom framework events
| | |-init.js ........ common locations to add Cordova objects to browser globals
| | |-exec.js ........ interace stub for each platform specific version of exec.js
| | |-platform.js .... stub for platform's specific version of platform.js
@@ -65,7 +68,7 @@ All of the build tasks can be run via the `grunt` node module. Install it global

Then from the repository root run:


To compile the js for just one platform, run:

@@ -110,7 +113,7 @@ The `boot` method does all the work. First, it grabs the common platform defini
# Testing

Tests run in node or the browser. To run the tests in node:

grunt test --platformVersion=3.6.0

To run them in the browser:
@@ -173,7 +176,7 @@ Once the new js file has been added, any new projects created will use the updat
not clobber existing objects, instead it will recursively merge
this object into the specific target
- `initialize`: a function that fires immediately after the `objects` (see above) are defined in the global scope

The following is a simple example of a platform definition:


0 comments on commit 75c8ba4

Please sign in to comment.