Commit 222106e8 authored by Grzegorz Pietrusza's avatar Grzegorz Pietrusza

fix jshint errors

DIE ANTEK DIE
parent c54578b4
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
callback(response); callback(response);
}, function(response) { }, function(response) {
callback(response); callback(response);
}) });
}, },
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
}.bind(this), function(response){ }.bind(this), function(response){
this.clearCredentials(); this.clearCredentials();
callback(response); callback(response);
}.bind(this)) }.bind(this));
}, },
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
} }
}; };
$http.defaults.headers.common['Authorization'] = 'Basic ' + authdata; $http.defaults.headers.common.Authorization = 'Basic ' + authdata;
$cookieStore.put('globals', $rootScope.globals); $cookieStore.put('globals', $rootScope.globals);
}, },
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
$rootScope.globals = {}; $rootScope.globals = {};
$cookieStore.remove('globals'); $cookieStore.remove('globals');
$http.defaults.headers.common.Authorization = 'Basic ' $http.defaults.headers.common.Authorization = 'Basic ';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment