1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

more services and async callthroughs for vault list/add

This commit is contained in:
Kyle Spearrin
2016-09-04 00:34:24 -04:00
parent 32f4ab4987
commit 8f0a24b1b9
14 changed files with 303 additions and 166 deletions

View File

@@ -1,9 +1,11 @@
function UserService(tokenService, apiService) {
this.tokenService = tokenService;
this.apiService = apiService;
initUserService();
};
!function () {
function initUserService() {
var _userProfile = null;
UserService.prototype.getUserId = function (callback) {
@@ -90,4 +92,4 @@
callback(profile !== null && profile.twoFactor);
});
};
}();
};