1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

lint fixes

This commit is contained in:
Kyle Spearrin
2017-07-14 15:34:05 -04:00
parent cf850838b5
commit e4baa19232
24 changed files with 94 additions and 83 deletions

View File

@@ -25,7 +25,7 @@ function ApiService(tokenService, appIdService, utilsService, logoutCallback) {
this.utilsService = utilsService;
initApiService();
};
}
function initApiService() {
// Auth APIs
@@ -482,7 +482,7 @@ function initApiService() {
console.log('Logging out from apiService at ' + new Date() + '. Reason: Status ' + jqXHR.status + '.');
console.log(jqXHR);
if (self && self.logoutCallback) {
self.logoutCallback(true, function () { })
self.logoutCallback(true, function () { });
}
else {
chrome.runtime.sendMessage({ command: 'logout', expired: true });
@@ -539,7 +539,7 @@ function initApiService() {
});
});
return deferred.promise
return deferred.promise;
}
function refreshToken(self, success, error) {
@@ -588,4 +588,4 @@ function initApiService() {
}
});
}
};
}