1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-30 12:54:31 +01:00

lint fixes

This commit is contained in:
Kyle Spearrin 2018-01-24 09:26:59 -05:00
parent b16ae24d58
commit f2923d9c81
5 changed files with 5 additions and 14 deletions

View File

@ -11,7 +11,7 @@ import { AuthService } from 'jslib/abstractions/auth.service';
@Component({
selector: 'app-login',
template: template
template: template,
})
export class LoginComponent implements OnInit {
email: string = '';

View File

@ -6,7 +6,7 @@ import {
} from '@angular/core';
@Directive({
selector: '[appFallbackSrc]'
selector: '[appFallbackSrc]',
})
export class FallbackSrcDirective {
@Input('appFallbackSrc') appFallbackSrc: string;

View File

@ -4,7 +4,7 @@ import {
} from '@angular/core';
@Directive({
selector: '[appStopClick]'
selector: '[appStopClick]',
})
export class StopClickDirective {
@HostListener('click', ['$event']) onClick($event: MouseEvent) {

View File

@ -4,7 +4,7 @@ import {
} from '@angular/core';
@Directive({
selector: '[appStopProp]'
selector: '[appStopProp]',
})
export class StopPropDirective {
@HostListener('click', ['$event']) onClick($event: MouseEvent) {

View File

@ -4,7 +4,6 @@ import {
Component,
EventEmitter,
Input,
OnChanges,
Output,
} from '@angular/core';
@ -12,18 +11,10 @@ import {
selector: 'app-vault-ciphers',
template: template,
})
export class CiphersComponent implements OnChanges {
export class CiphersComponent {
@Input() ciphers: any[];
@Output() onCipherClicked = new EventEmitter<any>();
constructor() {
}
ngOnChanges() {
}
cipherClicked(cipher: any) {
this.onCipherClicked.emit(cipher);
}