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

@@ -11,7 +11,7 @@
this.lastRevisionCheck = null;
initSyncService();
};
}
function initSyncService() {
SyncService.prototype.fullSync = function (forceSync, callback) {
@@ -133,7 +133,7 @@ function initSyncService() {
deferred.reject();
});
return deferred.promise
return deferred.promise;
}
function syncFolders(self, userId) {
@@ -153,7 +153,7 @@ function initSyncService() {
deferred.reject();
});
return deferred.promise
return deferred.promise;
}
function syncCiphers(self, userId) {
@@ -176,7 +176,7 @@ function initSyncService() {
deferred.reject();
});
return deferred.promise
return deferred.promise;
}
function syncSettings(self, userId) {
@@ -203,7 +203,7 @@ function initSyncService() {
});
return deferred.promise;
};
}
SyncService.prototype.getLastSync = function (callback) {
if (!callback || typeof callback !== 'function') {
@@ -250,4 +250,4 @@ function initSyncService() {
this.syncInProgress = false;
chrome.runtime.sendMessage({ command: 'syncCompleted', successfully: successfully });
};
};
}