From 47cdfaf87a301c1e459e1c0e04d1ba93f44c743f Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 20 Apr 2016 16:15:22 -0400 Subject: [PATCH] style: fix ts linter errors --- ionic/components/input/native-input.ts | 4 ++-- ionic/components/select/select.ts | 4 ++-- ionic/decorators/app.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ionic/components/input/native-input.ts b/ionic/components/input/native-input.ts index de7e8156b0..894a2ad9fe 100644 --- a/ionic/components/input/native-input.ts +++ b/ionic/components/input/native-input.ts @@ -44,7 +44,7 @@ export class NativeInput { function docTouchEnd(ev) { var tapped: HTMLElement = ev.target; if (tapped && self.element()) { - if (tapped.tagName !== "INPUT" && tapped.tagName !== "TEXTAREA" && !tapped.classList.contains('input-cover')) { + if (tapped.tagName !== 'INPUT' && tapped.tagName !== 'TEXTAREA' && !tapped.classList.contains('input-cover')) { self.element().blur(); } } @@ -211,4 +211,4 @@ export class NextInput { this.focused.emit(true); } -} \ No newline at end of file +} diff --git a/ionic/components/select/select.ts b/ionic/components/select/select.ts index bccbb80ab8..9473aa3e58 100644 --- a/ionic/components/select/select.ts +++ b/ionic/components/select/select.ts @@ -256,7 +256,7 @@ export class Select { this.onChange(input.value); this.change.emit(input.value); } - } + }; })); alertOptions.cssClass = 'select-action-sheet'; @@ -274,7 +274,7 @@ export class Select { label: input.text, value: input.value, checked: input.checked - } + }; }); // create the alert instance from our built up alertOptions diff --git a/ionic/decorators/app.ts b/ionic/decorators/app.ts index a946eb1d4c..4a14039806 100644 --- a/ionic/decorators/app.ts +++ b/ionic/decorators/app.ts @@ -92,7 +92,7 @@ export function App(args: AppMetadata = {}) { let directives = args.directives ? args.directives.concat(IONIC_DIRECTIVES) : IONIC_DIRECTIVES; // automatically provide all of Ionic's directives to every component - providers.push(provide(PLATFORM_DIRECTIVES, {useValue: [directives], multi:true})); + providers.push(provide(PLATFORM_DIRECTIVES, {useValue: [directives], multi: true})); if (args.prodMode) { enableProdMode();