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({ @Component({
selector: 'app-login', selector: 'app-login',
template: template template: template,
}) })
export class LoginComponent implements OnInit { export class LoginComponent implements OnInit {
email: string = ''; email: string = '';

View File

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

View File

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

View File

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

View File

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