1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +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

@@ -6,11 +6,11 @@ function LoginService(cryptoService, userService, apiService, settingsService) {
this.decryptedLoginCache = null;
initLoginService();
};
}
function initLoginService() {
LoginService.prototype.clearCache = function () {
this.decryptedLoginCache = null
this.decryptedLoginCache = null;
};
LoginService.prototype.encrypt = function (login) {
@@ -185,12 +185,12 @@ function initLoginService() {
if (!login.id) {
self.apiService.postLogin(request, apiSuccess, function (response) {
handleError(response, deferred)
handleError(response, deferred);
});
}
else {
self.apiService.putLogin(login.id, request, apiSuccess, function (response) {
handleError(response, deferred)
handleError(response, deferred);
});
}
@@ -420,7 +420,7 @@ function initLoginService() {
});
}
else {
callback()
callback();
}
});
});
@@ -460,4 +460,4 @@ function initLoginService() {
deferred.reject(error.message);
return;
}
};
}