1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 07:13:32 +00:00

Refactored rename of Sites => Logins

This commit is contained in:
Kyle Spearrin
2017-01-03 18:40:07 -05:00
parent fcce60eccd
commit fb486003b5
34 changed files with 601 additions and 601 deletions

View File

@@ -11,7 +11,7 @@ var CipherString = function (encryptedString) {
}
};
var Site = function (obj, alreadyEncrypted) {
var Login = function (obj, alreadyEncrypted) {
this.id = obj.id ? obj.id : null;
this.folderId = obj.folderId ? obj.folderId : null;
this.favorite = obj.favorite ? true : false;
@@ -62,7 +62,7 @@ var Folder = function (obj, alreadyEncrypted) {
return deferred.promise;
};
Site.prototype.decrypt = function () {
Login.prototype.decrypt = function () {
var self = this;
var model = {
id: self.id,