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

dont allow shorthand property assignments

This commit is contained in:
Kyle Spearrin
2017-12-06 14:23:34 -05:00
parent 5319568d81
commit a4127f2571
24 changed files with 30 additions and 28 deletions

View File

@@ -11,11 +11,11 @@ export class CipherItemsController implements ng.IController {
}
view(cipher: any) {
return this.onView({cipher});
return this.onView({ cipher: cipher });
}
select(cipher: any) {
return this.onSelected({cipher});
return this.onSelected({ cipher: cipher });
}
}
@@ -27,5 +27,5 @@ export const CipherItemsComponent = {
onView: '&',
},
controller: CipherItemsController,
template,
template: template,
};