88 */
99
1010ngCordovaMocks . factory ( '$cordovaProgress' , [
11- '$timeout' , function ( $timeout ) {
11+ '$timeout' , function ( $timeout ) {
1212
1313 return {
14- show : function ( _message ) {
14+ show : function ( _message ) {
1515 var message = _message || 'Please wait...' ;
1616 console . info ( '$cordovaProgress.message' , message ) ;
1717 } ,
1818
19- showSimple : function ( _dim ) {
19+ showSimple : function ( _dim ) {
2020 var dim = _dim || false ;
2121 console . info ( '$cordovaProgress.dim' , dim ) ;
2222 } ,
2323
24- showSimpleWithLabel : function ( _dim , _label ) {
24+ showSimpleWithLabel : function ( _dim , _label ) {
2525 var dim = _dim || false ;
2626 var label = _label || 'Loading...' ;
2727 console . group ( ) ;
@@ -30,7 +30,7 @@ ngCordovaMocks.factory('$cordovaProgress', [
3030 console . groupEnd ( ) ;
3131 } ,
3232
33- showSimpleWithLabelDetail : function ( _dim , _label , _detail ) {
33+ showSimpleWithLabelDetail : function ( _dim , _label , _detail ) {
3434 var dim = _dim || false ;
3535 var label = _label || 'Loading...' ;
3636 var detail = _detail || 'Please wait' ;
@@ -42,19 +42,19 @@ ngCordovaMocks.factory('$cordovaProgress', [
4242 console . groupEnd ( ) ;
4343 } ,
4444
45- showDeterminate : function ( _dim , _timeout ) {
45+ showDeterminate : function ( _dim , _timeout ) {
4646 var dim = _dim || false ;
4747 var timeout = _timeout || 50000 ;
4848 console . group ( ) ;
4949 console . info ( '$cordovaProgress.dim show' , dim ) ;
5050 console . info ( '$cordovaProgress.timeout' , timeout ) ;
5151 console . groupEnd ( ) ;
52- $timeout ( function ( ) {
52+ $timeout ( function ( ) {
5353 console . info ( '$cordovaProgress.dim timeout' , dim ) ;
5454 } , timeout ) ;
5555 } ,
5656
57- showDeterminateWithLabel : function ( _dim , _timeout , _label ) {
57+ showDeterminateWithLabel : function ( _dim , _timeout , _label ) {
5858 var dim = _dim || false ;
5959 var timeout = _timeout || 50000 ;
6060 var label = _label || 'Loading...' ;
@@ -64,25 +64,25 @@ ngCordovaMocks.factory('$cordovaProgress', [
6464 console . info ( '$cordovaProgress.timeout' , timeout ) ;
6565 console . info ( '$cordovaProgress.label' , label ) ;
6666 console . groupEnd ( ) ;
67- $timeout ( function ( ) {
67+ $timeout ( function ( ) {
6868 console . info ( '$cordovaProgress[dim, label] timeout' , [ dim , label ] ) ;
6969 } , timeout ) ;
7070 } ,
7171
72- showAnnular : function ( _dim , _timeout ) {
72+ showAnnular : function ( _dim , _timeout ) {
7373 var dim = _dim || false ;
7474 var timeout = _timeout || 50000 ;
7575
7676 console . group ( ) ;
7777 console . info ( '$cordovaProgress.dim' , dim ) ;
7878 console . info ( '$cordovaProgress.timeout' , timeout ) ;
7979 console . groupEnd ( ) ;
80- $timeout ( function ( ) {
80+ $timeout ( function ( ) {
8181 console . info ( '$cordovaProgress.dim timeout' , dim ) ;
8282 } , timeout ) ;
8383 } ,
8484
85- showAnnularWithLabel : function ( _dim , _timeout , _label ) {
85+ showAnnularWithLabel : function ( _dim , _timeout , _label ) {
8686 var dim = _dim || false ;
8787 var timeout = _timeout || 50000 ;
8888 var label = _label || 'Loading...' ;
@@ -92,25 +92,25 @@ ngCordovaMocks.factory('$cordovaProgress', [
9292 console . info ( '$cordovaProgress.timeout' , timeout ) ;
9393 console . info ( '$cordovaProgress.label' , label ) ;
9494 console . groupEnd ( ) ;
95- $timeout ( function ( ) {
95+ $timeout ( function ( ) {
9696 console . info ( '$cordovaProgress[dim, label] timeout' , [ dim , label ] ) ;
9797 } , timeout ) ;
9898 } ,
9999
100- showBar : function ( _dim , _timeout ) {
100+ showBar : function ( _dim , _timeout ) {
101101 var dim = _dim || false ;
102102 var timeout = _timeout || 50000 ;
103103
104104 console . group ( ) ;
105105 console . info ( '$cordovaProgress.dim' , dim ) ;
106106 console . info ( '$cordovaProgress.timeout' , timeout ) ;
107107 console . groupEnd ( ) ;
108- $timeout ( function ( ) {
108+ $timeout ( function ( ) {
109109 console . info ( '$cordovaProgress.dim timeout' , dim ) ;
110110 } , timeout ) ;
111111 } ,
112112
113- showBarWithLabel : function ( _dim , _timeout , _label ) {
113+ showBarWithLabel : function ( _dim , _timeout , _label ) {
114114 var dim = _dim || false ;
115115 var timeout = _timeout || 50000 ;
116116 var label = _label || 'Loading...' ;
@@ -119,12 +119,12 @@ ngCordovaMocks.factory('$cordovaProgress', [
119119 console . info ( '$cordovaProgress.label' , label ) ;
120120 console . info ( '$cordovaProgress.timeout' , timeout ) ;
121121 console . groupEnd ( ) ;
122- $timeout ( function ( ) {
122+ $timeout ( function ( ) {
123123 console . info ( '$cordovaProgress[dim, label] timeout' , [ dim , label ] ) ;
124124 } , timeout ) ;
125125 } ,
126126
127- showSuccess : function ( _dim , _label ) {
127+ showSuccess : function ( _dim , _label ) {
128128 var dim = _dim || false ;
129129 var label = _label || 'Success' ;
130130 console . group ( ) ;
@@ -133,7 +133,7 @@ ngCordovaMocks.factory('$cordovaProgress', [
133133 console . groupEnd ( ) ;
134134 } ,
135135
136- showText : function ( _dim , _text , _position ) {
136+ showText : function ( _dim , _text , _position ) {
137137 var dim = _dim || false ;
138138 var text = _text || 'Warning' ;
139139 var position = _position || 'center' ;
@@ -144,7 +144,7 @@ ngCordovaMocks.factory('$cordovaProgress', [
144144 console . groupEnd ( ) ;
145145 } ,
146146
147- hide : function ( ) {
147+ hide : function ( ) {
148148 console . info ( '$cordovaProgress.hide' ) ;
149149 }
150150 } ;
0 commit comments