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

fix jshint errors

DIE ANTEK DIE
parent c54578b4
......@@ -22,7 +22,7 @@
callback(response);
}, function(response) {
callback(response);
})
});
},
......@@ -40,7 +40,7 @@
}.bind(this), function(response){
this.clearCredentials();
callback(response);
}.bind(this))
}.bind(this));
},
......@@ -61,7 +61,7 @@
}
};
$http.defaults.headers.common['Authorization'] = 'Basic ' + authdata;
$http.defaults.headers.common.Authorization = 'Basic ' + authdata;
$cookieStore.put('globals', $rootScope.globals);
},
......@@ -73,7 +73,7 @@
$rootScope.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