11/*!
22 * ngCordova
3- * v0.1.24 -alpha
3+ * v0.1.26 -alpha
44 * Copyright 2015 Drifty Co. http://drifty.com/
55 * See LICENSE in this repository for license information
66 */
@@ -30,7 +30,7 @@ ngCordovaMocks.factory('$cordovaActionSheet', ['$q', function ($q) {
3030 */
3131 throwsError : throwsError ,
3232
33- show : function ( ) {
33+ show : function ( ) {
3434 var defer = $q . defer ( ) ;
3535
3636 if ( this . throwsError ) {
@@ -2526,12 +2526,12 @@ ngCordovaMocks.factory('$cordovaNetwork', ['$rootScope',function ($rootScope) {
25262526 **/
25272527 isConnected : isConnected ,
25282528
2529- switchToOnline : function ( ) {
2529+ switchToOnline : function ( ) {
25302530 this . isConnected = true ;
25312531 $rootScope . $broadcast ( '$cordovaNetwork:online' ) ;
25322532 } ,
25332533
2534- switchToOffline : function ( ) {
2534+ switchToOffline : function ( ) {
25352535 this . isConnected = false ;
25362536 $rootScope . $broadcast ( '$cordovaNetwork:offline' ) ;
25372537 } ,
@@ -2560,20 +2560,20 @@ ngCordovaMocks.factory('$cordovaNetwork', ['$rootScope',function ($rootScope) {
25602560 */
25612561
25622562ngCordovaMocks . factory ( '$cordovaProgress' , [
2563- '$timeout' , function ( $timeout ) {
2563+ '$timeout' , function ( $timeout ) {
25642564
25652565 return {
2566- show : function ( _message ) {
2566+ show : function ( _message ) {
25672567 var message = _message || 'Please wait...' ;
25682568 console . info ( '$cordovaProgress.message' , message ) ;
25692569 } ,
25702570
2571- showSimple : function ( _dim ) {
2571+ showSimple : function ( _dim ) {
25722572 var dim = _dim || false ;
25732573 console . info ( '$cordovaProgress.dim' , dim ) ;
25742574 } ,
25752575
2576- showSimpleWithLabel : function ( _dim , _label ) {
2576+ showSimpleWithLabel : function ( _dim , _label ) {
25772577 var dim = _dim || false ;
25782578 var label = _label || 'Loading...' ;
25792579 console . group ( ) ;
@@ -2582,7 +2582,7 @@ ngCordovaMocks.factory('$cordovaProgress', [
25822582 console . groupEnd ( ) ;
25832583 } ,
25842584
2585- showSimpleWithLabelDetail : function ( _dim , _label , _detail ) {
2585+ showSimpleWithLabelDetail : function ( _dim , _label , _detail ) {
25862586 var dim = _dim || false ;
25872587 var label = _label || 'Loading...' ;
25882588 var detail = _detail || 'Please wait' ;
@@ -2594,19 +2594,19 @@ ngCordovaMocks.factory('$cordovaProgress', [
25942594 console . groupEnd ( ) ;
25952595 } ,
25962596
2597- showDeterminate : function ( _dim , _timeout ) {
2597+ showDeterminate : function ( _dim , _timeout ) {
25982598 var dim = _dim || false ;
25992599 var timeout = _timeout || 50000 ;
26002600 console . group ( ) ;
26012601 console . info ( '$cordovaProgress.dim show' , dim ) ;
26022602 console . info ( '$cordovaProgress.timeout' , timeout ) ;
26032603 console . groupEnd ( ) ;
2604- $timeout ( function ( ) {
2604+ $timeout ( function ( ) {
26052605 console . info ( '$cordovaProgress.dim timeout' , dim ) ;
26062606 } , timeout ) ;
26072607 } ,
26082608
2609- showDeterminateWithLabel : function ( _dim , _timeout , _label ) {
2609+ showDeterminateWithLabel : function ( _dim , _timeout , _label ) {
26102610 var dim = _dim || false ;
26112611 var timeout = _timeout || 50000 ;
26122612 var label = _label || 'Loading...' ;
@@ -2616,25 +2616,25 @@ ngCordovaMocks.factory('$cordovaProgress', [
26162616 console . info ( '$cordovaProgress.timeout' , timeout ) ;
26172617 console . info ( '$cordovaProgress.label' , label ) ;
26182618 console . groupEnd ( ) ;
2619- $timeout ( function ( ) {
2619+ $timeout ( function ( ) {
26202620 console . info ( '$cordovaProgress[dim, label] timeout' , [ dim , label ] ) ;
26212621 } , timeout ) ;
26222622 } ,
26232623
2624- showAnnular : function ( _dim , _timeout ) {
2624+ showAnnular : function ( _dim , _timeout ) {
26252625 var dim = _dim || false ;
26262626 var timeout = _timeout || 50000 ;
26272627
26282628 console . group ( ) ;
26292629 console . info ( '$cordovaProgress.dim' , dim ) ;
26302630 console . info ( '$cordovaProgress.timeout' , timeout ) ;
26312631 console . groupEnd ( ) ;
2632- $timeout ( function ( ) {
2632+ $timeout ( function ( ) {
26332633 console . info ( '$cordovaProgress.dim timeout' , dim ) ;
26342634 } , timeout ) ;
26352635 } ,
26362636
2637- showAnnularWithLabel : function ( _dim , _timeout , _label ) {
2637+ showAnnularWithLabel : function ( _dim , _timeout , _label ) {
26382638 var dim = _dim || false ;
26392639 var timeout = _timeout || 50000 ;
26402640 var label = _label || 'Loading...' ;
@@ -2644,25 +2644,25 @@ ngCordovaMocks.factory('$cordovaProgress', [
26442644 console . info ( '$cordovaProgress.timeout' , timeout ) ;
26452645 console . info ( '$cordovaProgress.label' , label ) ;
26462646 console . groupEnd ( ) ;
2647- $timeout ( function ( ) {
2647+ $timeout ( function ( ) {
26482648 console . info ( '$cordovaProgress[dim, label] timeout' , [ dim , label ] ) ;
26492649 } , timeout ) ;
26502650 } ,
26512651
2652- showBar : function ( _dim , _timeout ) {
2652+ showBar : function ( _dim , _timeout ) {
26532653 var dim = _dim || false ;
26542654 var timeout = _timeout || 50000 ;
26552655
26562656 console . group ( ) ;
26572657 console . info ( '$cordovaProgress.dim' , dim ) ;
26582658 console . info ( '$cordovaProgress.timeout' , timeout ) ;
26592659 console . groupEnd ( ) ;
2660- $timeout ( function ( ) {
2660+ $timeout ( function ( ) {
26612661 console . info ( '$cordovaProgress.dim timeout' , dim ) ;
26622662 } , timeout ) ;
26632663 } ,
26642664
2665- showBarWithLabel : function ( _dim , _timeout , _label ) {
2665+ showBarWithLabel : function ( _dim , _timeout , _label ) {
26662666 var dim = _dim || false ;
26672667 var timeout = _timeout || 50000 ;
26682668 var label = _label || 'Loading...' ;
@@ -2671,12 +2671,12 @@ ngCordovaMocks.factory('$cordovaProgress', [
26712671 console . info ( '$cordovaProgress.label' , label ) ;
26722672 console . info ( '$cordovaProgress.timeout' , timeout ) ;
26732673 console . groupEnd ( ) ;
2674- $timeout ( function ( ) {
2674+ $timeout ( function ( ) {
26752675 console . info ( '$cordovaProgress[dim, label] timeout' , [ dim , label ] ) ;
26762676 } , timeout ) ;
26772677 } ,
26782678
2679- showSuccess : function ( _dim , _label ) {
2679+ showSuccess : function ( _dim , _label ) {
26802680 var dim = _dim || false ;
26812681 var label = _label || 'Success' ;
26822682 console . group ( ) ;
@@ -2685,7 +2685,7 @@ ngCordovaMocks.factory('$cordovaProgress', [
26852685 console . groupEnd ( ) ;
26862686 } ,
26872687
2688- showText : function ( _dim , _text , _position ) {
2688+ showText : function ( _dim , _text , _position ) {
26892689 var dim = _dim || false ;
26902690 var text = _text || 'Warning' ;
26912691 var position = _position || 'center' ;
@@ -2696,7 +2696,7 @@ ngCordovaMocks.factory('$cordovaProgress', [
26962696 console . groupEnd ( ) ;
26972697 } ,
26982698
2699- hide : function ( ) {
2699+ hide : function ( ) {
27002700 console . info ( '$cordovaProgress.hide' ) ;
27012701 }
27022702 } ;
0 commit comments