@@ -13,13 +13,13 @@ angular.module('ngCordova.plugins.preferences', [])
1313 * Decorate the promise object.
1414 * @param promise The promise object.
1515 */
16- decoratePromise : function ( promise ) {
17- promise . success = function ( fn ) {
16+ decoratePromise : function ( promise ) {
17+ promise . success = function ( fn ) {
1818 promise . then ( fn ) ;
1919 return promise ;
2020 } ;
2121
22- promise . error = function ( fn ) {
22+ promise . error = function ( fn ) {
2323 promise . then ( null , fn ) ;
2424 return promise ;
2525 } ;
@@ -32,7 +32,7 @@ angular.module('ngCordova.plugins.preferences', [])
3232 * @param dict The dictionary. It's optional.
3333 * @returns Returns a promise.
3434 */
35- store : function ( key , value , dict ) {
35+ store : function ( key , value , dict ) {
3636 var deferred = $q . defer ( ) ;
3737 var promise = deferred . promise ;
3838
@@ -67,7 +67,7 @@ angular.module('ngCordova.plugins.preferences', [])
6767 * @param dict The dictionary. It's optional.
6868 * @returns Returns a promise.
6969 */
70- fetch : function ( key , dict ) {
70+ fetch : function ( key , dict ) {
7171 var deferred = $q . defer ( ) ;
7272 var promise = deferred . promise ;
7373
@@ -101,7 +101,7 @@ angular.module('ngCordova.plugins.preferences', [])
101101 * @param dict The dictionary. It's optional.
102102 * @returns Returns a promise.
103103 */
104- remove : function ( key , dict ) {
104+ remove : function ( key , dict ) {
105105 var deferred = $q . defer ( ) ;
106106 var promise = deferred . promise ;
107107
@@ -133,7 +133,7 @@ angular.module('ngCordova.plugins.preferences', [])
133133 * Show the application preferences.
134134 * @returns Returns a promise.
135135 */
136- show : function ( ) {
136+ show : function ( ) {
137137 var deferred = $q . defer ( ) ;
138138 var promise = deferred . promise ;
139139
0 commit comments