mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 10:13:31 +00:00
Add TSLint (#340)
* Add tslint. * Disable alphabetic ordering. * Change place on selectionTitle.
This commit is contained in:
committed by
Kyle Spearrin
parent
77f9270131
commit
f922b2e0cb
2
src/popup/app/app.d.ts
vendored
2
src/popup/app/app.d.ts
vendored
@@ -1 +1 @@
|
||||
declare module '*.html';
|
||||
declare module '*.html';
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user