Skip to content
Permalink
Browse files
Updated documentation. Added support for mozBattery.
  • Loading branch information
rodms10 committed May 1, 2014
1 parent 7d9f58d commit 7222959f2741cc54401c84c4506413001684e799
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
@@ -54,6 +54,7 @@ attach an event listener once the `deviceready` event fires. e.g.:
- BlackBerry 10
- Windows Phone 7 and 8
- Tizen
- Firefox OS

### Windows Phone 7 and 8 Quirks

@@ -92,6 +93,7 @@ an event listener once the `deviceready` event fires.
- Android
- BlackBerry 10
- Tizen
- Firefox OS

### Example

@@ -124,6 +126,7 @@ attach an event listener once the `deviceready` event fires.
- Android
- BlackBerry 10
- Tizen
- Firefox OS

### Example

@@ -19,7 +19,7 @@
*
*/

var mozBattery = cordova.require('cordova/modulemapper').getOriginalSymbol(window, 'navigator.battery');
var mozBattery = cordova.require('cordova/modulemapper').getOriginalSymbol(window, 'navigator.battery') || navigator.mozBattery;

var Battery = {
start: function(successCB, failCB, args, env) {

0 comments on commit 7222959

Please sign in to comment.