fix(all): updated tslint rules to latest

This commit is contained in:
Manu Mtz.-Almeida
2018-07-29 13:03:47 +02:00
parent d1969bdf1d
commit 92e21a8cf3
112 changed files with 546 additions and 574 deletions

View File

@ -43,13 +43,13 @@ export class Backdrop {
unregisterBackdrop(this.doc, this);
}
@Listen('touchstart', {passive: false, capture: true})
@Listen('touchstart', { passive: false, capture: true })
protected onTouchStart(ev: TouchEvent) {
this.lastClick = now(ev);
this.emitTap(ev);
}
@Listen('mousedown', {passive: false, capture: true})
@Listen('mousedown', { passive: false, capture: true })
protected onMouseDown(ev: TouchEvent) {
if (this.lastClick < now(ev) - 2500) {
this.emitTap(ev);