There is no JS test coverage for this project.

Usage: `jake test:cov`

This uses CoverJS: https://github.com/arian/CoverJS

When you run `jake test:cov`, `test` and `lib` code is instrumented and
copied to a `cov` directory in the root of the project, and executed.
When they have completed, a web based report is generated for viewing.

Note: This is a first pass at creating insight into the test coverage
for this project, and could be added onto (or even changed), whichever
makes the most sense. i.e The web based report is hackily changed to
be easier to digest.

Note: This only works for the node based runner (and not `jake btest`).
The `utils.copy` tests could be cleaned up.

The tests still have some of the older test structure, and needed to be
re-worded. Also, in retrospect, some of the tests seemed to be redundant
or not very helpful for what they were trying to test, so those were
cleaned up.
The `npm` build target is unnecessary.

It felt consistent to have one when there was a `rim.npm` build target,
but now that is no longer needed, you can install the npm package the
usual way.

    npm install -g .
Allow client to be injected and run in any (web) browser.

This means you can inject Ripple's client UI into any (hosted) app,
provided you use the CLI's `emulate` cmd, so you need to:

a) Be running locally with the npm package installed.

or..

b) Be running remotely with the npm package hosting your content.

To emulate your app in a browser (ex: Safari), do something like this:

    cd ripple-repo
    jake && ./bin/ripple emulate --path to/your/app

Then, open a web browser at the location logged to console, but with the
`enableripple` query string param (as used in the Chrome Extension):

Ex:

    http://localhost:4400/index.html?enableripple=true

This will inject the client UI in the same way the Chrome Extension
does.

Note: Currently, Ripple will attempt to inject itself on any .html file
      with a `<head>` tag in it.

Note: This only works (at the moment) in select browsers (ex ones that
      have WebSQL). Browsers like FireFox is a TODO.

Note: Updated the README to talk about using the hosted version, and
      removed the reference to the `pkg/web` target (which is no
      longer needed now that you can use the `pkg/hosted` target).

Authored By:

    Brent Lintner <brent.lintner@gmail.com>
    Bryan Higgins <bhiggins@rim.com>
The `cordova` build target can be removed.

This is because it was a proof of concept, is not primarily used, and is
also not kept up to date.
WebSQL is a deprecated spec.

It is not even supported in browsers like Firefox.

Let's go back to localStorage if `window.openDatabase` does not exist.

Note: Also tweaked removeAll and re-enabled a `xit` db test.
`innerText` is not a standard (DOM) spec.

Use `innerHTML` instead, as some browsers may not support `innerText`.
Emulate a remote (proxied) website using the hosted build target.

You can now (in addition to the `--path` option) enable over a remote
website (app). Ex:

    ripple emulate --remote http://foo.com

Then navigate to (what is logged):

    http://localhost:PORT

Which should load the remote site as it should be.

To enable Ripple's client UI around it, you can add the enableripple
query param:

    http://localhost:PORT?enableripple=true

Note: This is NOT perfect. Some tweaks will be needed.
Update Express to a non RC version (3.1.0).
A mobile website should be sent the proper user agent (server side).

When running a command like so:

    ripple emulate --remote http://foo.com

Then navigate to the logged (local) url:

    http://localhost:PORT?enableripple=true

When enabling for that page, the current userAgent of the current
device (according to client side db) will be sent to the server and
used instead of the browser's.

Note: This does not cover some edge cases, such as having links with
hardcoded host names in them.

Note: Also cleaned up the current navigator.userAgent (client side)
emulation to be more simple (i.e. if userAgent on the current device is
falsy, use original).
The `pkg/web` build target is no longer warranted.

This build target is no longer (primarily) used, and now that there is a
hosted build target, which can function without the chrome extension
(i.e. standalone) this is no longer needed, and should be removed.

This also cleans up some hacky (complexity inducing) code (such as the
omnibar checks) that has never felt right.
There were some incorrect (relative) image paths in the main css file.

It did not cause any visible breakages in the Chrome Extension build
target, but in the hosted version (where assets are loaded from
`ripple/assets`) it shows up.
Add support for Cordova Globalization API

This commit adds support for feature #686.

All of the mobile-spec tests are now passing and unit tests cover
most of the code.

Most of the settings are via the device panel with some interesting
workarounds:

- no timezone support (just returns ??? for the timezone, we can fix
  this later if someone wants it)
- DayLight savings time is handled via a checkbox in the device
  settings, if checked all dates are returned as isDST
- All number and currency formatting is hardcoded to be North American.
  (can be controlled via the accountingjs if needed)
There was an oudated reference to the NPM build target (HACKING.md).
The section for what a build target is could use a better description.

Before, it seemed to not give full context to what a build target is,
There were some minor spelling errors (in comments).
Switch legacy options in .jshintrc for newer options.

It makes sense to keep things up to date, following project updates.
Legacy will still work at the moment, but not forever.

* "globals" can be used instead of "prefdef"
* there is no more "nomen" or "white" option
* add "trailing" (whitespace) to cover for "white" option
There is trailing whitespace in some files.

This was (newly) shown via jshint's "trailing" option (vs the legacy
"white" option).
Add start / stop methods to the Cordova compass

This fixes #721
The Chrome extension UI should have same font as the main UI.

This was pointed out in GitHub Issue:

    https://github.com/blackberry/Ripple-UI/issues/698