1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

Add TSLint (#340)

* Add tslint.

* Disable alphabetic ordering.

* Change place on selectionTitle.
This commit is contained in:
Oscar Hinton
2017-10-30 22:49:56 +01:00
committed by Kyle Spearrin
parent 77f9270131
commit f922b2e0cb
5 changed files with 61 additions and 8 deletions

View File

@@ -8,11 +8,11 @@ class CipherItemsController implements ng.IController {
}
public view(cipher: any) {
view(cipher: any) {
return this.onView()(cipher);
}
public select(cipher: any) {
select(cipher: any) {
return this.onSelected()(cipher);
}
@@ -22,9 +22,9 @@ export const CipherItemsComponent = {
bindings: {
ciphers: '<',
selectionTitle: '<',
onSelected: '&',
onView: '&',
onSelected: '&'
},
template: template,
controller: CipherItemsController
}
controller: CipherItemsController,
template,
};