diff --git a/demos/infinite-scroll/index.ts b/demos/infinite-scroll/index.ts index d553b26572..bbea129652 100644 --- a/demos/infinite-scroll/index.ts +++ b/demos/infinite-scroll/index.ts @@ -1,5 +1,5 @@ -import {Component, Injectable} from '@angular/core'; -import {ionicBootstrap, InfiniteScroll} from 'ionic-angular'; +import { Component, Injectable } from '@angular/core'; +import { ionicBootstrap, InfiniteScroll } from 'ionic-angular'; /** diff --git a/scripts/docs/typescript-package/mocks/readTypeScriptModules/publicModule.ts b/scripts/docs/typescript-package/mocks/readTypeScriptModules/publicModule.ts index 0fbae4ad2f..bbb7cc82c3 100755 --- a/scripts/docs/typescript-package/mocks/readTypeScriptModules/publicModule.ts +++ b/scripts/docs/typescript-package/mocks/readTypeScriptModules/publicModule.ts @@ -1,3 +1,3 @@ -export { x as y} from './privateModule'; +export { x as y } from './privateModule'; export abstract class AbstractClass {} \ No newline at end of file diff --git a/scripts/docs/typescript-package/services/tsParser/index.js b/scripts/docs/typescript-package/services/tsParser/index.js index 32b6d29aa8..e5ed07dca8 100755 --- a/scripts/docs/typescript-package/services/tsParser/index.js +++ b/scripts/docs/typescript-package/services/tsParser/index.js @@ -48,7 +48,7 @@ module.exports = function tsParser(createCompilerHost, log) { tsModule.exportArray = typeChecker.getExportsOfModule(tsModule); // Although 'star' imports (e.g. `export * from 'some/module';) get resolved automatically - // by the compiler/binder, it seems that explicit imports (e.g. `export {SomeClass} from 'some/module'`) + // by the compiler/binder, it seems that explicit imports (e.g. `export { SomeClass } from 'some/module'`) // do not so we have to do a little work. tsModule.exportArray.forEach(function(moduleExport) { if (moduleExport.flags & ts.SymbolFlags.Alias) { diff --git a/src/animations/animation.ts b/src/animations/animation.ts index c4cb6a0ea6..95a2326ba6 100644 --- a/src/animations/animation.ts +++ b/src/animations/animation.ts @@ -1,5 +1,5 @@ -import {CSS, rafFrames, transitionEnd, nativeTimeout} from '../util/dom'; -import {assign, isDefined} from '../util/util'; +import { CSS, rafFrames, transitionEnd, nativeTimeout } from '../util/dom'; +import { assign, isDefined } from '../util/util'; /** diff --git a/src/animations/builtins.ts b/src/animations/builtins.ts index 367c6cfc9f..026e19fa97 100644 --- a/src/animations/builtins.ts +++ b/src/animations/builtins.ts @@ -1,5 +1,5 @@ -import {Animation} from './animation'; +import { Animation } from './animation'; class SlideIn extends Animation { diff --git a/src/components/action-sheet/action-sheet.ts b/src/components/action-sheet/action-sheet.ts index 24e7254eeb..d2462665f6 100644 --- a/src/components/action-sheet/action-sheet.ts +++ b/src/components/action-sheet/action-sheet.ts @@ -108,7 +108,7 @@ export class ActionSheet extends ViewController { * * @usage * ```ts - * import {ActionSheetController} from 'ionic-angular' + * import { ActionSheetController } from 'ionic-angular' * * export class MyClass{ * diff --git a/src/components/alert/test/dismiss/index.ts b/src/components/alert/test/dismiss/index.ts index 30806cff6b..178cb39407 100644 --- a/src/components/alert/test/dismiss/index.ts +++ b/src/components/alert/test/dismiss/index.ts @@ -10,7 +10,7 @@ export class E2EPage { constructor(private alertCtrl: AlertController, private nav: NavController) {} - submit() { + submit() { var alert = this.alertCtrl.create({ title: 'Not logged in', message: 'Sign in to continue.', @@ -30,7 +30,7 @@ export class E2EPage { }); alert.present(); - } + } } @Component({ @@ -42,18 +42,18 @@ export class E2EPage {
- - - Name - - - -
- -
-
+ + + Name + + + +
+ +
+

@@ -63,27 +63,27 @@ export class E2EPage { class AnotherPage { form: ControlGroup; - constructor(private nav: NavController, private alertCtrl: AlertController, private loadingCtrl: LoadingController, private builder: FormBuilder) { - this.form = builder.group({ - name: builder.control('', Validators.compose([ - Validators.required, - Validators.minLength(5) - ])) - }); - } + constructor(private nav: NavController, private alertCtrl: AlertController, private loadingCtrl: LoadingController, private builder: FormBuilder) { + this.form = builder.group({ + name: builder.control('', Validators.compose([ + Validators.required, + Validators.minLength(5) + ])) + }); + } - submit(value: any): void { - if (this.form.valid) { - console.log(value); + submit(value: any): void { + if (this.form.valid) { + console.log(value); - } else { - this.alertCtrl.create({ - title: 'Invalid input data', - subTitle: "Please correct the errors and resubmit the data.", - buttons: [ 'OK' ] - }).present(); - } - } + } else { + this.alertCtrl.create({ + title: 'Invalid input data', + subTitle: 'Please correct the errors and resubmit the data.', + buttons: ['OK'] + }).present(); + } + } ionViewDidEnter() { this.showConfirm(); diff --git a/src/components/app/test/animations/index.ts b/src/components/app/test/animations/index.ts index abaacd6699..2687c1e00f 100644 --- a/src/components/app/test/animations/index.ts +++ b/src/components/app/test/animations/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap, Config, Animation} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap, Config, Animation } from '../../../../../src'; @Component({ @@ -13,7 +13,7 @@ class E2EPage { this.duration = '1000'; this.easing = 'ease-in-out'; - console.log('isProd', config.prodMode); + console.log('isProd', config.getBoolean('prodMode')); } playGreen() { @@ -39,9 +39,9 @@ class E2EPage { let a = new Animation('.green'); a.fromTo('translateX', '0px', '200px'); - a.duration(self.duration); + a.duration(parseInt(self.duration)); a.easing(self.easing); - a.onFinish((animation) => { + a.onFinish((animation: Animation) => { setTimeout(() => { play(); }, 100); diff --git a/src/components/app/test/cordova/index.ts b/src/components/app/test/cordova/index.ts index 239d442186..77bac88832 100644 --- a/src/components/app/test/cordova/index.ts +++ b/src/components/app/test/cordova/index.ts @@ -1,6 +1,6 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap, NavController, ModalController, ViewController} from '../../../../../src'; -import {Injectable} from '@angular/core'; +import { Component } from '@angular/core'; +import { ionicBootstrap, NavController, ModalController, ViewController } from '../../../../../src'; +import { Injectable } from '@angular/core'; @Injectable() @@ -8,7 +8,7 @@ export class SomeData { constructor() {} getData() { - return "SomeData"; + return 'SomeData'; } } @@ -17,7 +17,7 @@ export class OtherData { constructor() {} getData() { - return "OtherData"; + return 'OtherData'; } } @@ -61,8 +61,8 @@ class Page1 { sort: string = 'all'; constructor(private nav: NavController, private someData: SomeData, private otherData: OtherData) { - console.log("Got some data from", someData.getData()); - console.log("Got some data from", otherData.getData()); + console.log('Got some data from', someData.getData()); + console.log('Got some data from', otherData.getData()); } goToTabs() { diff --git a/src/components/app/test/gestures/index.ts b/src/components/app/test/gestures/index.ts index 9d3063b10f..18a5035a8e 100644 --- a/src/components/app/test/gestures/index.ts +++ b/src/components/app/test/gestures/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/app/test/typography/index.ts b/src/components/app/test/typography/index.ts index 5d9d40065f..94fefa17b5 100644 --- a/src/components/app/test/typography/index.ts +++ b/src/components/app/test/typography/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap, App} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap, App } from '../../../../../src'; @Component({ diff --git a/src/components/badge/badge.ts b/src/components/badge/badge.ts index 7f18893bf6..8017b91b34 100644 --- a/src/components/badge/badge.ts +++ b/src/components/badge/badge.ts @@ -1,6 +1,6 @@ -import {Directive, ElementRef, Renderer, Attribute} from '@angular/core'; +import { Directive, ElementRef, Renderer, Attribute } from '@angular/core'; -import {Config} from '../../config/config'; +import { Config } from '../../config/config'; /** diff --git a/src/components/badge/test/basic/index.ts b/src/components/badge/test/basic/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/badge/test/basic/index.ts +++ b/src/components/badge/test/basic/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/button/button.ts b/src/components/button/button.ts index a060da8a9d..79243d0984 100644 --- a/src/components/button/button.ts +++ b/src/components/button/button.ts @@ -1,8 +1,8 @@ -import {Component, ElementRef, Renderer, Attribute, Optional, Input, ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core'; +import { Component, ElementRef, Renderer, Attribute, Optional, Input, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core'; -import {Config} from '../../config/config'; -import {Toolbar} from '../toolbar/toolbar'; -import {isTrueProperty} from '../../util/util'; +import { Config } from '../../config/config'; +import { Toolbar } from '../toolbar/toolbar'; +import { isTrueProperty } from '../../util/util'; /** diff --git a/src/components/button/test/basic/index.ts b/src/components/button/test/basic/index.ts index 2eb941a631..1c5833fa99 100644 --- a/src/components/button/test/basic/index.ts +++ b/src/components/button/test/basic/index.ts @@ -1,12 +1,12 @@ -import {Component} from '@angular/core'; -import {App, ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { App, ionicBootstrap } from '../../../../../src'; @Component({ templateUrl: 'main.html' }) class E2EPage { - btnColor; + btnColor: string; testingColors = ['primary', 'secondary', 'danger', 'dark']; testingColorIndex = 0; diff --git a/src/components/button/test/block/index.ts b/src/components/button/test/block/index.ts index a18d36ccb2..11f64b96a5 100644 --- a/src/components/button/test/block/index.ts +++ b/src/components/button/test/block/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/button/test/button.spec.ts b/src/components/button/test/button.spec.ts index 6398274455..4d1dba5e2f 100644 --- a/src/components/button/test/button.spec.ts +++ b/src/components/button/test/button.spec.ts @@ -1,4 +1,4 @@ -import {Button, Config} from '../../../../src'; +import { Button, Config } from '../../../../src'; export function run() { @@ -108,7 +108,7 @@ export function run() { b = mockButton(['solid']); b._assignCss(true); - expect(hasClass(b, 'button-solid')).toEqual(true); + expect(hasClass(b, 'button-solid')).toEqual(true); b = mockButton(['clear', 'outline', 'small', 'full']); b._assignCss(true); diff --git a/src/components/button/test/clear/index.ts b/src/components/button/test/clear/index.ts index 74b9224c03..4817194989 100644 --- a/src/components/button/test/clear/index.ts +++ b/src/components/button/test/clear/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/button/test/dynamic/index.ts b/src/components/button/test/dynamic/index.ts index 3c02c71e3d..a8a07f6415 100644 --- a/src/components/button/test/dynamic/index.ts +++ b/src/components/button/test/dynamic/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ @@ -19,38 +19,38 @@ class E2EPage { showIf: boolean = true; constructor() { - this.reset(); - } + this.reset(); + } - unify() { - this.isDestructive = false; - this.isSecondary = false; - this.isCustom = false; - this.isSolid = false; - this.isOutline = false; - this.isClear = false; - this.isClicked = false; - this.myColor1 = 'primary'; - this.myColor2 = 'primary'; - this.multiColor = ['primary']; - } + unify() { + this.isDestructive = false; + this.isSecondary = false; + this.isCustom = false; + this.isSolid = false; + this.isOutline = false; + this.isClear = false; + this.isClicked = false; + this.myColor1 = 'primary'; + this.myColor2 = 'primary'; + this.multiColor = ['primary']; + } - reset() { - this.isDestructive = true; - this.isSecondary = true; - this.isCustom = true; - this.isSolid = true; - this.isOutline = true; - this.isClear = true; - this.isClicked = false; - this.myColor1 = 'custom1'; - this.myColor2 = 'custom2'; - this.multiColor = ['primary','secondary']; - } + reset() { + this.isDestructive = true; + this.isSecondary = true; + this.isCustom = true; + this.isSolid = true; + this.isOutline = true; + this.isClear = true; + this.isClicked = false; + this.myColor1 = 'custom1'; + this.myColor2 = 'custom2'; + this.multiColor = ['primary', 'secondary']; + } - toggle() { - this.isClicked = !this.isClicked; - } + toggle() { + this.isClicked = !this.isClicked; + } } @Component({ diff --git a/src/components/button/test/fab/index.ts b/src/components/button/test/fab/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/button/test/fab/index.ts +++ b/src/components/button/test/fab/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/button/test/full/index.ts b/src/components/button/test/full/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/button/test/full/index.ts +++ b/src/components/button/test/full/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/button/test/icons/index.ts b/src/components/button/test/icons/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/button/test/icons/index.ts +++ b/src/components/button/test/icons/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/button/test/outline/index.ts b/src/components/button/test/outline/index.ts index 09d7835e69..33b7ef6003 100644 --- a/src/components/button/test/outline/index.ts +++ b/src/components/button/test/outline/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/button/test/raised/index.ts b/src/components/button/test/raised/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/button/test/raised/index.ts +++ b/src/components/button/test/raised/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/button/test/round/index.ts b/src/components/button/test/round/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/button/test/round/index.ts +++ b/src/components/button/test/round/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/button/test/sizes/index.ts b/src/components/button/test/sizes/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/button/test/sizes/index.ts +++ b/src/components/button/test/sizes/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/card/test/advanced/index.ts b/src/components/card/test/advanced/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/card/test/advanced/index.ts +++ b/src/components/card/test/advanced/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/card/test/basic/index.ts b/src/components/card/test/basic/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/card/test/basic/index.ts +++ b/src/components/card/test/basic/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/card/test/images/index.ts b/src/components/card/test/images/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/card/test/images/index.ts +++ b/src/components/card/test/images/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/card/test/list/index.ts b/src/components/card/test/list/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/card/test/list/index.ts +++ b/src/components/card/test/list/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/card/test/map/index.ts b/src/components/card/test/map/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/card/test/map/index.ts +++ b/src/components/card/test/map/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/card/test/social/index.ts b/src/components/card/test/social/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/card/test/social/index.ts +++ b/src/components/card/test/social/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/checkbox/test/basic/index.ts b/src/components/checkbox/test/basic/index.ts index 0778a13ca5..eedbdf934d 100644 --- a/src/components/checkbox/test/basic/index.ts +++ b/src/components/checkbox/test/basic/index.ts @@ -17,10 +17,10 @@ class E2EPage { constructor() { this.fruitsForm = new FormGroup({ - "appleCtrl": new FormControl(true), - "bananaCtrl": new FormControl(true), - "cherryCtrl": new FormControl(false), - "grapeCtrl": new FormControl(true) + 'appleCtrl': new FormControl(true), + 'bananaCtrl': new FormControl(true), + 'cherryCtrl': new FormControl(false), + 'grapeCtrl': new FormControl(true) }); this.grapeDisabled = true; diff --git a/src/components/chip/test/basic/index.ts b/src/components/chip/test/basic/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/chip/test/basic/index.ts +++ b/src/components/chip/test/basic/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/chip/test/delete/index.ts b/src/components/chip/test/delete/index.ts index 327e1f4e43..de3edab3c3 100644 --- a/src/components/chip/test/delete/index.ts +++ b/src/components/chip/test/delete/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/chip/test/icon/index.ts b/src/components/chip/test/icon/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/chip/test/icon/index.ts +++ b/src/components/chip/test/icon/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/chip/test/image/index.ts b/src/components/chip/test/image/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/chip/test/image/index.ts +++ b/src/components/chip/test/image/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/content/content.ts b/src/components/content/content.ts index a4e85e4103..edf40a43fc 100644 --- a/src/components/content/content.ts +++ b/src/components/content/content.ts @@ -1,14 +1,14 @@ -import {ChangeDetectionStrategy, Component, ElementRef, Input, NgZone, Optional, ViewEncapsulation} from '@angular/core'; +import { ChangeDetectionStrategy, Component, ElementRef, Input, NgZone, Optional, ViewEncapsulation } from '@angular/core'; -import {App} from '../app/app'; -import {Ion} from '../ion'; -import {Config} from '../../config/config'; -import {Keyboard} from '../../util/keyboard'; -import {nativeRaf, nativeTimeout, transitionEnd} from '../../util/dom'; -import {ScrollView} from '../../util/scroll-view'; -import {Tabs} from '../tabs/tabs'; -import {ViewController} from '../nav/view-controller'; -import {isTrueProperty} from '../../util/util'; +import { App } from '../app/app'; +import { Ion } from '../ion'; +import { Config } from '../../config/config'; +import { Keyboard } from '../../util/keyboard'; +import { nativeRaf, nativeTimeout, transitionEnd} from '../../util/dom'; +import { ScrollView } from '../../util/scroll-view'; +import { Tabs } from '../tabs/tabs'; +import { ViewController } from '../nav/view-controller'; +import { isTrueProperty } from '../../util/util'; /** @@ -31,8 +31,8 @@ import {isTrueProperty} from '../../util/util'; * you can use Angular's `@ViewChild` annotation: * * ```ts - * import {Component, ViewChild} from '@angular/core'; - * import {Content} from 'ionic-angular'; + * import { Component, ViewChild } from '@angular/core'; + * import { Content } from 'ionic-angular'; * * @Component({...}) * export class MyPage{ @@ -245,8 +245,8 @@ export class Content extends Ion { * Scroll to the specified position. * * ```ts - * import {Component, ViewChild} from '@angular/core'; - * import {Content} from 'ionic-angular'; + * import { Component, ViewChild } from '@angular/core'; + * import { Content } from 'ionic-angular'; * * @Component({ * template: ` @@ -276,8 +276,8 @@ export class Content extends Ion { * Scroll to the top of the content component. * * ```ts - * import {Component, ViewChild} from '@angular/core'; - * import {Content} from 'ionic-angular'; + * import { Component, ViewChild } from '@angular/core'; + * import { Content } from 'ionic-angular'; * * @Component({ * template: ` diff --git a/src/components/content/test/fullscreen/index.ts b/src/components/content/test/fullscreen/index.ts index 55ac8bb4f4..e6becc4968 100644 --- a/src/components/content/test/fullscreen/index.ts +++ b/src/components/content/test/fullscreen/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/datetime/test/basic/index.ts b/src/components/datetime/test/basic/index.ts index bdd6681b5c..0e4cda566d 100644 --- a/src/components/datetime/test/basic/index.ts +++ b/src/components/datetime/test/basic/index.ts @@ -30,20 +30,20 @@ class E2EPage { ]; onChange(ev: any) { - console.log("Changed", ev); + console.log('Changed', ev); } onCancel(ev: any) { - console.log("Canceled", ev); + console.log('Canceled', ev); } clearLeapYear() { this.leapYearsSummerMonths = null; } - convertDate() { - this.convertedDate = new Date(this.myDate).toISOString(); - } + convertDate() { + this.convertedDate = new Date(this.myDate).toISOString(); + } } diff --git a/src/components/datetime/test/datetime.spec.ts b/src/components/datetime/test/datetime.spec.ts index 519d71d943..85650bf438 100644 --- a/src/components/datetime/test/datetime.spec.ts +++ b/src/components/datetime/test/datetime.spec.ts @@ -1,4 +1,4 @@ -import {DateTime, Form, Picker, Config, NavController} from '../../../../src'; +import { DateTime, Form, Picker, Config, NavController } from '../../../../src'; import * as datetime from '../../../../src/util/datetime-util'; export function run() { diff --git a/src/components/grid/test/alignment/index.ts b/src/components/grid/test/alignment/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/grid/test/alignment/index.ts +++ b/src/components/grid/test/alignment/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/grid/test/basic/index.ts b/src/components/grid/test/basic/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/grid/test/basic/index.ts +++ b/src/components/grid/test/basic/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/grid/test/full/index.ts b/src/components/grid/test/full/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/grid/test/full/index.ts +++ b/src/components/grid/test/full/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/icon/icon.ts b/src/components/icon/icon.ts index fff46fb429..3119150998 100644 --- a/src/components/icon/icon.ts +++ b/src/components/icon/icon.ts @@ -1,6 +1,6 @@ -import {Directive, ElementRef, Renderer, Input} from '@angular/core'; +import { Directive, ElementRef, Renderer, Input } from '@angular/core'; -import {Config} from '../../config/config'; +import { Config } from '../../config/config'; /** diff --git a/src/components/icon/test/basic/index.ts b/src/components/icon/test/basic/index.ts index b4d06c0da0..ff4f53f79a 100644 --- a/src/components/icon/test/basic/index.ts +++ b/src/components/icon/test/basic/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ templateUrl: 'main.html' @@ -16,7 +16,7 @@ class E2EPage { 'md-alert', 'logo-apple' ]; - btnIcon; + btnIcon: string; constructor() { this.btnIcon = this.icons[0]; diff --git a/src/components/img/img.ts b/src/components/img/img.ts index b4a49917cc..b66cd7dced 100644 --- a/src/components/img/img.ts +++ b/src/components/img/img.ts @@ -1,8 +1,8 @@ -import {Component, Input, HostBinding, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, NgZone} from '@angular/core'; +import { Component, Input, HostBinding, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, NgZone } from '@angular/core'; -import {nativeRaf} from '../../util/dom'; -import {isPresent} from '../../util/util'; -import {Platform} from '../../platform/platform'; +import { nativeRaf } from '../../util/dom'; +import { isPresent } from '../../util/util'; +import { Platform } from '../../platform/platform'; @Component({ diff --git a/src/components/infinite-scroll/infinite-scroll.ts b/src/components/infinite-scroll/infinite-scroll.ts index 895da5b201..6ac9f2b634 100644 --- a/src/components/infinite-scroll/infinite-scroll.ts +++ b/src/components/infinite-scroll/infinite-scroll.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, EventEmitter, Host, Input, NgZone, Output } from '@angular/core'; -import {Content} from '../content/content'; +import { Content } from '../content/content'; /** diff --git a/src/components/infinite-scroll/test/basic/index.ts b/src/components/infinite-scroll/test/basic/index.ts index 729d9e764c..9888e43e1d 100644 --- a/src/components/infinite-scroll/test/basic/index.ts +++ b/src/components/infinite-scroll/test/basic/index.ts @@ -1,5 +1,5 @@ -import {Component, ViewChild} from '@angular/core'; -import {ionicBootstrap, InfiniteScroll, NavController} from '../../../../../src'; +import { Component, ViewChild } from '@angular/core'; +import { ionicBootstrap, InfiniteScroll, NavController } from '../../../../../src'; @Component({ diff --git a/src/components/infinite-scroll/test/infinite-scroll.spec.ts b/src/components/infinite-scroll/test/infinite-scroll.spec.ts index 22b8a72a8e..457c50ad06 100644 --- a/src/components/infinite-scroll/test/infinite-scroll.spec.ts +++ b/src/components/infinite-scroll/test/infinite-scroll.spec.ts @@ -1,4 +1,4 @@ -import {InfiniteScroll, Content, Config} from '../../../../src'; +import { InfiniteScroll, Content, Config } from '../../../../src'; export function run() { diff --git a/src/components/infinite-scroll/test/short-list/index.ts b/src/components/infinite-scroll/test/short-list/index.ts index d93a8c2a91..83a7e8a3bd 100644 --- a/src/components/infinite-scroll/test/short-list/index.ts +++ b/src/components/infinite-scroll/test/short-list/index.ts @@ -1,12 +1,12 @@ -import {Component, ViewChild} from '@angular/core'; -import {ionicBootstrap, InfiniteScroll} from '../../../../../src'; +import { Component, ViewChild } from '@angular/core'; +import { ionicBootstrap, InfiniteScroll } from '../../../../../src'; @Component({ templateUrl: 'main.html' }) class E2EPage { - items = []; + items: number[] = []; constructor() { for (var i = 0; i < 5; i++) { @@ -47,7 +47,7 @@ function getAsyncData(): Promise { return new Promise(resolve => { setTimeout(() => { - let data = []; + let data: number[] = []; for (var i = 0; i < 30; i++) { data.push(i); } diff --git a/src/components/input/test/clear-input/index.ts b/src/components/input/test/clear-input/index.ts index d711527bb4..30e90230e5 100644 --- a/src/components/input/test/clear-input/index.ts +++ b/src/components/input/test/clear-input/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ @@ -9,7 +9,7 @@ class E2EPage { myValue = 'value'; clicked() { - console.log("clicked button"); + console.log('clicked button'); } } diff --git a/src/components/input/test/fixed-inline-labels/index.ts b/src/components/input/test/fixed-inline-labels/index.ts index bb33ae830b..c85dfe5e09 100644 --- a/src/components/input/test/fixed-inline-labels/index.ts +++ b/src/components/input/test/fixed-inline-labels/index.ts @@ -1,16 +1,16 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ templateUrl: 'main.html' }) class PageOne { - url; + url: string; input1: string = 'Text 1'; - onEvent(event) { - console.log("Did Event:", event.type); + onEvent(event: any) { + console.log('Did Event:', event.type); } } diff --git a/src/components/input/test/floating-labels/index.ts b/src/components/input/test/floating-labels/index.ts index 7313cdfef9..f87a5e542a 100644 --- a/src/components/input/test/floating-labels/index.ts +++ b/src/components/input/test/floating-labels/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/input/test/form-inputs/index.ts b/src/components/input/test/form-inputs/index.ts index 860731d5c1..596564dc4f 100644 --- a/src/components/input/test/form-inputs/index.ts +++ b/src/components/input/test/form-inputs/index.ts @@ -24,14 +24,14 @@ class E2EPage { constructor(fb: FormBuilder) { this.loginForm = fb.group({ - email: ["", Validators.compose([ + email: ['', Validators.compose([ Validators.required, this.emailValidator ])], - username: [""], - password: ["", Validators.required], - comments: ["", Validators.required], - gender: ["", Validators.required] + username: [''], + password: ['', Validators.required], + comments: ['', Validators.required], + gender: ['', Validators.required] }); } @@ -44,7 +44,7 @@ class E2EPage { } submit(ev: UIEvent, value: any) { - console.log("Submitted", value); + console.log('Submitted', value); this.submitted = true; } diff --git a/src/components/input/test/highlight/index.ts b/src/components/input/test/highlight/index.ts index 3577828851..83c362040f 100644 --- a/src/components/input/test/highlight/index.ts +++ b/src/components/input/test/highlight/index.ts @@ -18,14 +18,14 @@ class E2EPage { constructor(fb: FormBuilder) { this.loginForm = fb.group({ - email: ["", Validators.compose([ + email: ['', Validators.compose([ Validators.required, this.emailValidator ])], - username: [""], - password: ["", Validators.required], - comments: ["", Validators.required], - inset: ["", Validators.required] + username: [''], + password: ['', Validators.required], + comments: ['', Validators.required], + inset: ['', Validators.required] }); } @@ -38,7 +38,7 @@ class E2EPage { } submit(ev: UIEvent, value: any) { - console.log("Submitted", value); + console.log('Submitted', value); this.submitted = true; } diff --git a/src/components/input/test/inline-labels/index.ts b/src/components/input/test/inline-labels/index.ts index 2f1edd8d72..40d8dc5acf 100644 --- a/src/components/input/test/inline-labels/index.ts +++ b/src/components/input/test/inline-labels/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ @@ -7,7 +7,7 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage { - submit(ev) { + submit(ev: any) { console.debug('submit', ev); } } diff --git a/src/components/input/test/input-focus/index.ts b/src/components/input/test/input-focus/index.ts index c2c32e5a3d..ec023ce30d 100644 --- a/src/components/input/test/input-focus/index.ts +++ b/src/components/input/test/input-focus/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/input/test/inset-inputs/index.ts b/src/components/input/test/inset-inputs/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/input/test/inset-inputs/index.ts +++ b/src/components/input/test/inset-inputs/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/input/test/placeholder-labels/index.ts b/src/components/input/test/placeholder-labels/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/input/test/placeholder-labels/index.ts +++ b/src/components/input/test/placeholder-labels/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/input/test/stacked-labels/index.ts b/src/components/input/test/stacked-labels/index.ts index 6ead56a99e..d20d741341 100644 --- a/src/components/input/test/stacked-labels/index.ts +++ b/src/components/input/test/stacked-labels/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/input/test/text-input.spec.ts b/src/components/input/test/text-input.spec.ts index 149d223986..26df83d787 100644 --- a/src/components/input/test/text-input.spec.ts +++ b/src/components/input/test/text-input.spec.ts @@ -1,4 +1,4 @@ -import {TextInput} from '../../../../src'; +import { TextInput } from '../../../../src'; export function run() { diff --git a/src/components/ion.ts b/src/components/ion.ts index 19c16aaed4..4f487ff8f5 100644 --- a/src/components/ion.ts +++ b/src/components/ion.ts @@ -1,5 +1,5 @@ -import {ElementRef} from '@angular/core'; -import {getDimensions, clearDimensions} from '../util/dom'; +import { ElementRef } from '@angular/core'; +import { getDimensions, clearDimensions } from '../util/dom'; let ids: number = 0; diff --git a/src/components/item/item-sliding.ts b/src/components/item/item-sliding.ts index 833e79f4d9..86798d1d5e 100644 --- a/src/components/item/item-sliding.ts +++ b/src/components/item/item-sliding.ts @@ -441,8 +441,8 @@ export class ItemSliding { * ``` * * ```ts - * import {Component} from '@angular/core'; - * import {ItemSliding} from 'ionic-angular'; + * import { Component } from '@angular/core'; + * import { ItemSliding } from 'ionic-angular'; * * @Component({...}) * export class MyClass { diff --git a/src/components/item/test/buttons/index.ts b/src/components/item/test/buttons/index.ts index e2f08ece60..9dc186d231 100644 --- a/src/components/item/test/buttons/index.ts +++ b/src/components/item/test/buttons/index.ts @@ -1,12 +1,12 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ templateUrl: 'main.html' }) class E2EPage { - testClick(ev) { + testClick(ev: any) { console.log('CLICK!', ev.target.tagName, ev.target.textContent.trim()); } } diff --git a/src/components/item/test/dividers/index.ts b/src/components/item/test/dividers/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/item/test/dividers/index.ts +++ b/src/components/item/test/dividers/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/item/test/groups/index.ts b/src/components/item/test/groups/index.ts index 9ea4809344..1065881c2d 100644 --- a/src/components/item/test/groups/index.ts +++ b/src/components/item/test/groups/index.ts @@ -33,7 +33,7 @@ class SessionList { constructor(public nav: NavController) {} addFavorite(timeSlot: any, session: any, slidingItem: any) { - console.error("addFavorite", timeSlot, session, slidingItem); + console.error('addFavorite', timeSlot, session, slidingItem); } openSession(session: any) { @@ -59,406 +59,406 @@ ionicBootstrap(E2EApp); let data = [ { - "time":"9:00 AM", - "talks":[ + 'time': '9:00 AM', + 'talks': [ { - "name":"Introduction to Appcamp.io", - "location":"Room 2203", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Brandy Carnegie", - "timestart":"05/17/2016 9:00", - "timeend":"05/17/2016 9:30", - "category":"ionic" + 'name': 'Introduction to Appcamp.io', + 'location': 'Room 2203', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Brandy Carnegie', + 'timestart': '05/17/2016 9:00', + 'timeend': '05/17/2016 9:30', + 'category': 'ionic' }, { - "name":"Getting started with Ionic", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Max Lynx", - "timestart":"05/17/2016 9:30", - "timeend":"05/17/2016 9:45", - "category":"ionic" + 'name': 'Getting started with Ionic', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Max Lynx', + 'timestart': '05/17/2016 9:30', + 'timeend': '05/17/2016 9:45', + 'category': 'ionic' }, { - "name":"Tooling for Ionic", - "location":"Room 2201", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Josh Babari", - "timestart":"05/17/2016 9:45", - "timeend":"05/17/2016 10:00", - "category":"tooling" + 'name': 'Tooling for Ionic', + 'location': 'Room 2201', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Josh Babari', + 'timestart': '05/17/2016 9:45', + 'timeend': '05/17/2016 10:00', + 'category': 'tooling' } ] }, { - "time":"10:00 AM", - "talks":[ + 'time': '10:00 AM', + 'talks': [ { - "name":"Getting started with Ionic", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "location":"Room 2201", - "speaker":"Adam Badley", - "timestart":"05/17/2016 10:00", - "timeend":"05/17/2016 10:15", - "category":"ionic" + 'name': 'Getting started with Ionic', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'location': 'Room 2201', + 'speaker': 'Adam Badley', + 'timestart': '05/17/2016 10:00', + 'timeend': '05/17/2016 10:15', + 'category': 'ionic' }, { - "name":"The evolution of Ionicons", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Ben Sparrow", - "timestart":"05/17/2016 10:15", - "timeend":"05/17/2016 10:30", - "category":"design" + 'name': 'The evolution of Ionicons', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Ben Sparrow', + 'timestart': '05/17/2016 10:15', + 'timeend': '05/17/2016 10:30', + 'category': 'design' }, { - "name":"Ionic.io Services", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Eric Bobbington", - "timestart":"05/17/2016 10:30", - "timeend":"05/17/2016 11:00", - "category":"services" + 'name': 'Ionic.io Services', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Eric Bobbington', + 'timestart': '05/17/2016 10:30', + 'timeend': '05/17/2016 11:00', + 'category': 'services' } ] }, { - "time":"11:00 AM", - "talks":[ + 'time': '11:00 AM', + 'talks': [ { - "name":"Ionic Workshop", - "location":"Room 2201", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Perry Governor", - "timestart":"05/17/2016 11:00", - "timeend":"05/17/2016 11:45", - "category":"workshop" + 'name': 'Ionic Workshop', + 'location': 'Room 2201', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Perry Governor', + 'timestart': '05/17/2016 11:00', + 'timeend': '05/17/2016 11:45', + 'category': 'workshop' }, { - "name":"Community Interaction", - "location":"Room 2203", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Mike Hurtington", - "timestart":"05/17/2016 11:45", - "timeend":"05/17/2016 11:50", - "category":"communication" + 'name': 'Community Interaction', + 'location': 'Room 2203', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Mike Hurtington', + 'timestart': '05/17/2016 11:45', + 'timeend': '05/17/2016 11:50', + 'category': 'communication' }, { - "name":"Navigation in Ionic", - "location":"Room 2203", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Tim Lanchester", - "timestart":"05/17/2016 11:50", - "timeend":"05/17/2016 12:00", - "category":"navigation" + 'name': 'Navigation in Ionic', + 'location': 'Room 2203', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Tim Lanchester', + 'timestart': '05/17/2016 11:50', + 'timeend': '05/17/2016 12:00', + 'category': 'navigation' } ] }, { - "time":"12:00 PM", - "talks":[ + 'time': '12:00 PM', + 'talks': [ { - "name":"Lunch", - "timestart":"05/17/2016 12:00", - "timeend":"05/17/2016 13:00", - "location":"Auditorium", - "description":"Come grab lunch with all the Ionic fanatics and talk all things Ionic", - "category":"food" + 'name': 'Lunch', + 'timestart': '05/17/2016 12:00', + 'timeend': '05/17/2016 13:00', + 'location': 'Auditorium', + 'description': 'Come grab lunch with all the Ionic fanatics and talk all things Ionic', + 'category': 'food' } ] }, { - "time":"1:00 PM", - "talks":[ + 'time': '1:00 PM', + 'talks': [ { - "name":"Ionic in the Enterprise", - "location":"Room 2201", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Brody Kiddington", - "timestart":"05/17/2016 13:00", - "timeend":"05/17/2016 13:15", - "category":"communication" + 'name': 'Ionic in the Enterprise', + 'location': 'Room 2201', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Brody Kiddington', + 'timestart': '05/17/2016 13:00', + 'timeend': '05/17/2016 13:15', + 'category': 'communication' }, { - "name":"Ionic Worldwide", - "location":"Room 2201", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Katie Kinder", - "timestart":"05/17/2016 13:15", - "timeend":"05/17/2016 13:30", - "category":"communication" + 'name': 'Ionic Worldwide', + 'location': 'Room 2201', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Katie Kinder', + 'timestart': '05/17/2016 13:15', + 'timeend': '05/17/2016 13:30', + 'category': 'communication' }, { - "name":"The Ionic package service", - "location":"Room 2203", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Dan Dalman", - "timestart":"05/17/2016 13:30", - "timeend":"05/17/2016 14:00", - "category":"services" + 'name': 'The Ionic package service', + 'location': 'Room 2203', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Dan Dalman', + 'timestart': '05/17/2016 13:30', + 'timeend': '05/17/2016 14:00', + 'category': 'services' } ] }, { - "time":"2:00 PM", - "talks":[ + 'time': '2:00 PM', + 'talks': [ { - "name":"Push Notifications in Ionic", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Rudy Belfonte", - "timestart":"05/17/2016 14:00", - "timeend":"05/17/2016 14:30", - "category":"services" + 'name': 'Push Notifications in Ionic', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Rudy Belfonte', + 'timestart': '05/17/2016 14:00', + 'timeend': '05/17/2016 14:30', + 'category': 'services' }, { - "name":"Ionic Documentation", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Drew Rough", - "timestart":"05/17/2016 14:30", - "timeend":"05/17/2016 14:45", - "category":"documentation" + 'name': 'Ionic Documentation', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Drew Rough', + 'timestart': '05/17/2016 14:30', + 'timeend': '05/17/2016 14:45', + 'category': 'documentation' }, { - "name":"UX planning in Ionic", - "location":"Room 2203", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Ben Sparrow", - "timestart":"05/17/2016 14:45", - "timeend":"05/17/2016 15:00", - "category":"design" + 'name': 'UX planning in Ionic', + 'location': 'Room 2203', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Ben Sparrow', + 'timestart': '05/17/2016 14:45', + 'timeend': '05/17/2016 15:00', + 'category': 'design' } ] }, { - "time":"3:00 PM", - "talks":[ + 'time': '3:00 PM', + 'talks': [ { - "name":"Directives in Ionic", - "location":"Room 2201", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Max Lynx", - "timestart":"05/17/2016 15:00", - "timeend":"05/17/2016 15:30", - "category":"angular" + 'name': 'Directives in Ionic', + 'location': 'Room 2201', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Max Lynx', + 'timestart': '05/17/2016 15:00', + 'timeend': '05/17/2016 15:30', + 'category': 'angular' }, { - "name":"Mobile States", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Tim Lanchester", - "timestart":"05/17/2016 15:30", - "timeend":"05/17/2016 15:45", - "category":"navigation" + 'name': 'Mobile States', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Tim Lanchester', + 'timestart': '05/17/2016 15:30', + 'timeend': '05/17/2016 15:45', + 'category': 'navigation' } ] }, { - "time":"4:00 PM", - "talks":[ + 'time': '4:00 PM', + 'talks': [ { - "name":"Breakfast", - "timestart":"05/17/2016 8:00", - "timeend":"05/17/2016 9:00", - "location":"Main hallway", - "category":"food" + 'name': 'Breakfast', + 'timestart': '05/17/2016 8:00', + 'timeend': '05/17/2016 9:00', + 'location': 'Main hallway', + 'category': 'food' } ] }, { - "time":"5:00 PM", - "talks":[ + 'time': '5:00 PM', + 'talks': [ { - "name":"Introduction to Appcamp.io", - "location":"Room 2203", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Brandy Carnegie", - "timestart":"05/17/2016 9:00", - "timeend":"05/17/2016 9:30", - "category":"ionic" + 'name': 'Introduction to Appcamp.io', + 'location': 'Room 2203', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Brandy Carnegie', + 'timestart': '05/17/2016 9:00', + 'timeend': '05/17/2016 9:30', + 'category': 'ionic' }, { - "name":"Getting started with Ionic", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Max Lynx", - "timestart":"05/17/2016 9:30", - "timeend":"05/17/2016 9:45", - "category":"ionic" + 'name': 'Getting started with Ionic', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Max Lynx', + 'timestart': '05/17/2016 9:30', + 'timeend': '05/17/2016 9:45', + 'category': 'ionic' }, { - "name":"Tooling for Ionic", - "location":"Room 2201", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Josh Babari", - "timestart":"05/17/2016 9:45", - "timeend":"05/17/2016 10:00", - "category":"tooling" + 'name': 'Tooling for Ionic', + 'location': 'Room 2201', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Josh Babari', + 'timestart': '05/17/2016 9:45', + 'timeend': '05/17/2016 10:00', + 'category': 'tooling' } ] }, { - "time":"6:00 PM", - "talks":[ + 'time': '6:00 PM', + 'talks': [ { - "name":"Getting started with Ionic", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "location":"Room 2201", - "speaker":"Adam Badley", - "timestart":"05/17/2016 10:00", - "timeend":"05/17/2016 10:15", - "category":"ionic" + 'name': 'Getting started with Ionic', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'location': 'Room 2201', + 'speaker': 'Adam Badley', + 'timestart': '05/17/2016 10:00', + 'timeend': '05/17/2016 10:15', + 'category': 'ionic' }, { - "name":"The evolution of Ionicons", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Ben Sparrow", - "timestart":"05/17/2016 10:15", - "timeend":"05/17/2016 10:30", - "category":"design" + 'name': 'The evolution of Ionicons', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Ben Sparrow', + 'timestart': '05/17/2016 10:15', + 'timeend': '05/17/2016 10:30', + 'category': 'design' }, { - "name":"Ionic.io Services", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Eric Bobbington", - "timestart":"05/17/2016 10:30", - "timeend":"05/17/2016 11:00", - "category":"services" + 'name': 'Ionic.io Services', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Eric Bobbington', + 'timestart': '05/17/2016 10:30', + 'timeend': '05/17/2016 11:00', + 'category': 'services' } ] }, { - "time":"7:00 PM", - "talks":[ + 'time': '7:00 PM', + 'talks': [ { - "name":"Ionic Workshop", - "location":"Room 2201", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Perry Governor", - "timestart":"05/17/2016 11:00", - "timeend":"05/17/2016 11:45", - "category":"workshop" + 'name': 'Ionic Workshop', + 'location': 'Room 2201', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Perry Governor', + 'timestart': '05/17/2016 11:00', + 'timeend': '05/17/2016 11:45', + 'category': 'workshop' }, { - "name":"Community Interaction", - "location":"Room 2203", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Mike Hurtington", - "timestart":"05/17/2016 11:45", - "timeend":"05/17/2016 11:50", - "category":"communication" + 'name': 'Community Interaction', + 'location': 'Room 2203', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Mike Hurtington', + 'timestart': '05/17/2016 11:45', + 'timeend': '05/17/2016 11:50', + 'category': 'communication' }, { - "name":"Navigation in Ionic", - "location":"Room 2203", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Tim Lanchester", - "timestart":"05/17/2016 11:50", - "timeend":"05/17/2016 12:00", - "category":"navigation" + 'name': 'Navigation in Ionic', + 'location': 'Room 2203', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Tim Lanchester', + 'timestart': '05/17/2016 11:50', + 'timeend': '05/17/2016 12:00', + 'category': 'navigation' } ] }, { - "time":"8:00 PM", - "talks":[ + 'time': '8:00 PM', + 'talks': [ { - "name":"Lunch", - "timestart":"05/17/2016 12:00", - "timeend":"05/17/2016 13:00", - "location":"Auditorium", - "description":"Come grab lunch with all the Ionic fanatics and talk all things Ionic", - "category":"food" + 'name': 'Lunch', + 'timestart': '05/17/2016 12:00', + 'timeend': '05/17/2016 13:00', + 'location': 'Auditorium', + 'description': 'Come grab lunch with all the Ionic fanatics and talk all things Ionic', + 'category': 'food' } ] }, { - "time":"9:00 PM", - "talks":[ + 'time': '9:00 PM', + 'talks': [ { - "name":"Ionic in the Enterprise", - "location":"Room 2201", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Brody Kiddington", - "timestart":"05/17/2016 13:00", - "timeend":"05/17/2016 13:15", - "category":"communication" + 'name': 'Ionic in the Enterprise', + 'location': 'Room 2201', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Brody Kiddington', + 'timestart': '05/17/2016 13:00', + 'timeend': '05/17/2016 13:15', + 'category': 'communication' }, { - "name":"Ionic Worldwide", - "location":"Room 2201", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Katie Kinder", - "timestart":"05/17/2016 13:15", - "timeend":"05/17/2016 13:30", - "category":"communication" + 'name': 'Ionic Worldwide', + 'location': 'Room 2201', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Katie Kinder', + 'timestart': '05/17/2016 13:15', + 'timeend': '05/17/2016 13:30', + 'category': 'communication' }, { - "name":"The Ionic package service", - "location":"Room 2203", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Dan Dalman", - "timestart":"05/17/2016 13:30", - "timeend":"05/17/2016 14:00", - "category":"services" + 'name': 'The Ionic package service', + 'location': 'Room 2203', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Dan Dalman', + 'timestart': '05/17/2016 13:30', + 'timeend': '05/17/2016 14:00', + 'category': 'services' } ] }, { - "time":"10:00 PM", - "talks":[ + 'time': '10:00 PM', + 'talks': [ { - "name":"Push Notifications in Ionic", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Rudy Belfonte", - "timestart":"05/17/2016 14:00", - "timeend":"05/17/2016 14:30", - "category":"services" + 'name': 'Push Notifications in Ionic', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Rudy Belfonte', + 'timestart': '05/17/2016 14:00', + 'timeend': '05/17/2016 14:30', + 'category': 'services' }, { - "name":"Ionic Documentation", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Drew Rough", - "timestart":"05/17/2016 14:30", - "timeend":"05/17/2016 14:45", - "category":"documentation" + 'name': 'Ionic Documentation', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Drew Rough', + 'timestart': '05/17/2016 14:30', + 'timeend': '05/17/2016 14:45', + 'category': 'documentation' }, { - "name":"UX planning in Ionic", - "location":"Room 2203", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Ben Sparrow", - "timestart":"05/17/2016 14:45", - "timeend":"05/17/2016 15:00", - "category":"design" + 'name': 'UX planning in Ionic', + 'location': 'Room 2203', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Ben Sparrow', + 'timestart': '05/17/2016 14:45', + 'timeend': '05/17/2016 15:00', + 'category': 'design' } ] }, { - "time":"11:00 PM", - "talks":[ + 'time': '11:00 PM', + 'talks': [ { - "name":"Directives in Ionic", - "location":"Room 2201", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Max Lynx", - "timestart":"05/17/2016 15:00", - "timeend":"05/17/2016 15:30", - "category":"angular" + 'name': 'Directives in Ionic', + 'location': 'Room 2201', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Max Lynx', + 'timestart': '05/17/2016 15:00', + 'timeend': '05/17/2016 15:30', + 'category': 'angular' }, { - "name":"Mobile States", - "location":"Room 2202", - "description":"Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.", - "speaker":"Tim Lanchester", - "timestart":"05/17/2016 15:30", - "timeend":"05/17/2016 15:45", - "category":"navigation" + 'name': 'Mobile States', + 'location': 'Room 2202', + 'description': 'Mobile devices and browsers are now advanced enough that developers can build native-quality mobile apps using open web technologies like HTML5, Javascript, and CSS. In this talk, we’ll provide background on why and how we created Ionic, the design decisions made as we integrated Ionic with Angular, and the performance considerations for mobile platforms that our team had to overcome. We’ll also review new and upcoming Ionic features, and talk about the hidden powers and benefits of combining mobile app development and Angular.', + 'speaker': 'Tim Lanchester', + 'timestart': '05/17/2016 15:30', + 'timeend': '05/17/2016 15:45', + 'category': 'navigation' } ] } diff --git a/src/components/item/test/icons/index.ts b/src/components/item/test/icons/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/item/test/icons/index.ts +++ b/src/components/item/test/icons/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/item/test/images/index.ts b/src/components/item/test/images/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/item/test/images/index.ts +++ b/src/components/item/test/images/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/item/test/media/index.ts b/src/components/item/test/media/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/item/test/media/index.ts +++ b/src/components/item/test/media/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/item/test/reorder/index.ts b/src/components/item/test/reorder/index.ts index 26edea3c07..377911cceb 100644 --- a/src/components/item/test/reorder/index.ts +++ b/src/components/item/test/reorder/index.ts @@ -1,5 +1,5 @@ -import {Component, ChangeDetectorRef} from '@angular/core'; -import {ionicBootstrap, reorderArray} from '../../../../../src'; +import { Component, ChangeDetectorRef } from '@angular/core'; +import { ionicBootstrap, reorderArray } from '../../../../../src'; @Component({ diff --git a/src/components/item/test/text/index.ts b/src/components/item/test/text/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/item/test/text/index.ts +++ b/src/components/item/test/text/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/list/list.ts b/src/components/list/list.ts index 1e92ec822f..d65c9ac4fe 100644 --- a/src/components/list/list.ts +++ b/src/components/list/list.ts @@ -48,8 +48,8 @@ export class List extends Ion { * Enable the sliding items. * * ```ts - * import {Component, ViewChild} from '@angular/core'; - * import {List} from 'ionic-angular'; + * import { Component, ViewChild } from '@angular/core'; + * import { List } from 'ionic-angular'; * * @Component({...}) * export class MyClass { @@ -101,8 +101,8 @@ export class List extends Ion { * Close the open sliding item. * * ```ts - * import {Component, ViewChild} from '@angular/core'; - * import {List} from 'ionic-angular'; + * import { Component, ViewChild } from '@angular/core'; + * import { List } from 'ionic-angular'; * * @Component({...}) * export class MyClass { diff --git a/src/components/list/test/header-scenarios/index.ts b/src/components/list/test/header-scenarios/index.ts index 0b3aa892e7..5d6076a2b7 100644 --- a/src/components/list/test/header-scenarios/index.ts +++ b/src/components/list/test/header-scenarios/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/list/test/headers/index.ts b/src/components/list/test/headers/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/list/test/headers/index.ts +++ b/src/components/list/test/headers/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/list/test/inset/index.ts b/src/components/list/test/inset/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/list/test/inset/index.ts +++ b/src/components/list/test/inset/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/list/test/no-lines/index.ts b/src/components/list/test/no-lines/index.ts index c52667cacf..7b73dae881 100644 --- a/src/components/list/test/no-lines/index.ts +++ b/src/components/list/test/no-lines/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/list/test/repeat-headers/index.ts b/src/components/list/test/repeat-headers/index.ts index d86529e181..cf6f2df084 100644 --- a/src/components/list/test/repeat-headers/index.ts +++ b/src/components/list/test/repeat-headers/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ @@ -7,9 +7,9 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EPage { people = [ - {"name": "Burt", "components": [ "all the things"]}, - {"name": "Mary", "components": [ "checkbox", "content", "form"]}, - {"name": "Albert", "components": [ "tabs"]} + {'name': 'Burt', 'components': [ 'all the things']}, + {'name': 'Mary', 'components': [ 'checkbox', 'content', 'form']}, + {'name': 'Albert', 'components': [ 'tabs']} ]; } diff --git a/src/components/list/test/sticky/index.ts b/src/components/list/test/sticky/index.ts index c345eb9a7d..8d1fa7569e 100644 --- a/src/components/list/test/sticky/index.ts +++ b/src/components/list/test/sticky/index.ts @@ -1,18 +1,18 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ templateUrl: 'main.html' }) class E2EPage { - groups = []; + groups: any[] = []; constructor() { - var letters = "abcdefghijklmnopqrstuvwxyz".split(''); + var letters = 'abcdefghijklmnopqrstuvwxyz'.split(''); for (var i = 0; i < letters.length; i++) { - var group = []; + var group: any[] = []; for (var j = 0; j < 10; j++) { group.push({ diff --git a/src/components/loading/loading-component.ts b/src/components/loading/loading-component.ts index 6e5302fc87..de0889da13 100644 --- a/src/components/loading/loading-component.ts +++ b/src/components/loading/loading-component.ts @@ -8,7 +8,7 @@ import { isDefined, isPresent, isUndefined } from '../../util/util'; import { NavParams } from '../nav/nav-params'; import { Spinner } from '../spinner/spinner'; import { Transition, TransitionOptions } from '../../transitions/transition'; -import { ViewController} from '../nav/view-controller'; +import { ViewController } from '../nav/view-controller'; /** diff --git a/src/components/loading/loading.ts b/src/components/loading/loading.ts index 71183325cd..b1ab2912f1 100644 --- a/src/components/loading/loading.ts +++ b/src/components/loading/loading.ts @@ -6,7 +6,7 @@ import { isPresent } from '../../util/util'; import { LoadingCmp } from './loading-component'; import { LoadingOptions } from './loading-options'; import { NavOptions } from '../nav/nav-interfaces'; -import { ViewController} from '../nav/view-controller'; +import { ViewController } from '../nav/view-controller'; /** * @private diff --git a/src/components/loading/test/tabs/index.ts b/src/components/loading/test/tabs/index.ts index a719735aa1..424811ae94 100644 --- a/src/components/loading/test/tabs/index.ts +++ b/src/components/loading/test/tabs/index.ts @@ -1,4 +1,4 @@ -import { Component} from '@angular/core'; +import { Component } from '@angular/core'; import { ionicBootstrap, LoadingController, NavController } from '../../../../../src'; diff --git a/src/components/menu/menu-controller.ts b/src/components/menu/menu-controller.ts index 6c796973ef..b974ff5a0c 100644 --- a/src/components/menu/menu-controller.ts +++ b/src/components/menu/menu-controller.ts @@ -34,8 +34,8 @@ import { Platform } from '../../platform/platform'; * toggling the menu. * * ```ts - * import {Component} from '@angular/core'; - * import {MenuController} from 'ionic-angular'; + * import { Component } from '@angular/core'; + * import { MenuController } from 'ionic-angular'; * * @Component({...}) * export class MyPage { diff --git a/src/components/menu/test/disable-swipe/index.ts b/src/components/menu/test/disable-swipe/index.ts index 1133a7c203..b29524d87e 100644 --- a/src/components/menu/test/disable-swipe/index.ts +++ b/src/components/menu/test/disable-swipe/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap, NavController, MenuController} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap, NavController, MenuController } from '../../../../../src'; @Component({ diff --git a/src/components/menu/test/enable-disable/index.ts b/src/components/menu/test/enable-disable/index.ts index 6d25c71f66..c6f6474958 100644 --- a/src/components/menu/test/enable-disable/index.ts +++ b/src/components/menu/test/enable-disable/index.ts @@ -1,5 +1,5 @@ -import {Component, ViewChild} from '@angular/core'; -import {ionicBootstrap, App, MenuController, Nav} from '../../../../../src'; +import { Component, ViewChild } from '@angular/core'; +import { ionicBootstrap, App, MenuController, Nav } from '../../../../../src'; @Component({ diff --git a/src/components/menu/test/menu.spec.ts b/src/components/menu/test/menu.spec.ts index a4a34ddcc1..13ac200acf 100644 --- a/src/components/menu/test/menu.spec.ts +++ b/src/components/menu/test/menu.spec.ts @@ -1,4 +1,4 @@ -import {MenuController, Menu} from '../../../../src'; +import { MenuController, Menu } from '../../../../src'; export function run() { describe('MenuController', () => { diff --git a/src/components/menu/test/multiple/index.ts b/src/components/menu/test/multiple/index.ts index 669556fea5..f586c172ab 100644 --- a/src/components/menu/test/multiple/index.ts +++ b/src/components/menu/test/multiple/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap, MenuController} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap, MenuController } from '../../../../../src'; @Component({ diff --git a/src/components/menu/test/reveal/index.ts b/src/components/menu/test/reveal/index.ts index 16c982aaf5..7e23e2a136 100644 --- a/src/components/menu/test/reveal/index.ts +++ b/src/components/menu/test/reveal/index.ts @@ -1,5 +1,5 @@ -import {Component, ViewChild} from '@angular/core'; -import {ionicBootstrap, Nav} from '../../../../../src'; +import { Component, ViewChild } from '@angular/core'; +import { ionicBootstrap, Nav } from '../../../../../src'; @Component({templateUrl: 'page1.html'}) diff --git a/src/components/modal/test/basic/index.ts b/src/components/modal/test/basic/index.ts index d14b32d029..ef3091b00a 100644 --- a/src/components/modal/test/basic/index.ts +++ b/src/components/modal/test/basic/index.ts @@ -120,7 +120,7 @@ class NavigableModal { constructor(private nav: NavController) { } - submit(){ + submit() { this.nav.push(NavigableModal2); } } diff --git a/src/components/modal/test/modal.spec.ts b/src/components/modal/test/modal.spec.ts index 4d36c1c5ff..56e352bc05 100644 --- a/src/components/modal/test/modal.spec.ts +++ b/src/components/modal/test/modal.spec.ts @@ -23,4 +23,4 @@ export function run() { @Component({ template: `
` }) -class ComponentToPresent{} +class ComponentToPresent {} diff --git a/src/components/nav/nav-controller.ts b/src/components/nav/nav-controller.ts index 604925995b..e952bb765b 100644 --- a/src/components/nav/nav-controller.ts +++ b/src/components/nav/nav-controller.ts @@ -72,7 +72,7 @@ import { ViewController } from './view-controller'; * defined in any component type which is pushed/popped from a `NavController`. * * ```ts - * import {Component } from '@angular/core'; + * import { Component } from '@angular/core'; * * @Component({ * template: 'Hello World' diff --git a/src/components/nav/nav.ts b/src/components/nav/nav.ts index 1b6ad476a4..a908a597fa 100644 --- a/src/components/nav/nav.ts +++ b/src/components/nav/nav.ts @@ -27,9 +27,9 @@ import { ViewController } from './view-controller'; * * @usage * ```ts - * import {Component} from '@angular/core'; - * import {ionicBootstrap} from 'ionic-angular'; - * import {GettingStartedPage} from './getting-started'; + * import { Component } from '@angular/core'; + * import { ionicBootstrap } from 'ionic-angular'; + * import { GettingStartedPage } from './getting-started'; * * @Component({ * template: `` diff --git a/src/components/nav/test/basic/index.ts b/src/components/nav/test/basic/index.ts index 12b1645f14..9a47b23322 100644 --- a/src/components/nav/test/basic/index.ts +++ b/src/components/nav/test/basic/index.ts @@ -1,14 +1,14 @@ import { Component, ViewChild } from '@angular/core'; import { NavController, AlertController, Content } from '../../../../../src'; import { ionicBootstrap, App } from '../../../../../src'; -import { NavParams, ViewController } from '../../../../../src';; +import { NavParams, ViewController } from '../../../../../src'; @Component({ selector: 'my-cmp', template: `

My Custom Component Test

` }) -class MyCmpTest{} +class MyCmpTest {} @Component({ @@ -358,7 +358,7 @@ class AnotherPage { } toggleBackButton() { - this.bbHideToggleVal = !this.bbHideToggleVal + this.bbHideToggleVal = !this.bbHideToggleVal; this.viewCtrl.showBackButton(this.bbHideToggleVal); } diff --git a/src/components/nav/test/child-navs/index.ts b/src/components/nav/test/child-navs/index.ts index f1af093062..2400da6374 100644 --- a/src/components/nav/test/child-navs/index.ts +++ b/src/components/nav/test/child-navs/index.ts @@ -1,4 +1,4 @@ -import { Component} from '@angular/core'; +import { Component } from '@angular/core'; import { ionicBootstrap, NavController } from '../../../../../src'; @Component({ @@ -27,12 +27,12 @@ ionicBootstrap(E2EApp);
` }) -class LandingPage{ +class LandingPage { - constructor(private nav: NavController){ + constructor(private nav: NavController) { } - goToPage(){ + goToPage() { this.nav.push(FirstPage); } } @@ -53,7 +53,7 @@ class LandingPage{
` }) -class FirstPage{ +class FirstPage { root = SecondPage; } @@ -73,7 +73,7 @@ class FirstPage{
` }) -class SecondPage{ +class SecondPage { root = ThirdPage; } @@ -93,7 +93,7 @@ class SecondPage{ ` }) -class ThirdPage{ +class ThirdPage { root = FourthPage; } @@ -108,12 +108,12 @@ class ThirdPage{ ` }) -class FourthPage{ +class FourthPage { private items: string[]; - ionViewWillEnter(){ + ionViewWillEnter() { let items: string[] = []; - for ( let i = 0 ; i < 500; i++ ){ + for ( let i = 0 ; i < 500; i++ ) { items.push(`Item ${(i + 1)}`); } this.items = items; diff --git a/src/components/nav/test/init-async/index.ts b/src/components/nav/test/init-async/index.ts index f9d6d5beb9..f3e2bae931 100644 --- a/src/components/nav/test/init-async/index.ts +++ b/src/components/nav/test/init-async/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ @@ -16,7 +16,7 @@ class AsyncPage {} template: `` }) class E2EApp { - root; + root: AsyncPage; constructor() { setTimeout(() => { diff --git a/src/components/nav/test/insert-views/index.ts b/src/components/nav/test/insert-views/index.ts index e0ba9b1356..102fe40062 100644 --- a/src/components/nav/test/insert-views/index.ts +++ b/src/components/nav/test/insert-views/index.ts @@ -1,4 +1,4 @@ -import { Component} from '@angular/core'; +import { Component } from '@angular/core'; import { ionicBootstrap, NavController } from '../../../../../src'; @@ -18,7 +18,7 @@ class FirstPage { constructor(public nav: NavController) {} pushPage() { - this.nav.push(SecondPage) + this.nav.push(SecondPage); } } @@ -41,7 +41,7 @@ class SecondPage { constructor(public nav: NavController) {} insertPage() { - this.nav.insert(1, InsertPage) + this.nav.insert(1, InsertPage); } } diff --git a/src/components/nav/test/memory/index.ts b/src/components/nav/test/memory/index.ts index 232f982b91..43b4a8fe7c 100644 --- a/src/components/nav/test/memory/index.ts +++ b/src/components/nav/test/memory/index.ts @@ -1,4 +1,4 @@ -import { Component} from '@angular/core'; +import { Component } from '@angular/core'; import { ionicBootstrap, NavController } from '../../../../../src'; diff --git a/src/components/nav/test/nav-controller.spec.ts b/src/components/nav/test/nav-controller.spec.ts index d609791eba..bd0d55a908 100644 --- a/src/components/nav/test/nav-controller.spec.ts +++ b/src/components/nav/test/nav-controller.spec.ts @@ -405,7 +405,7 @@ describe('NavController', () => { var done = () => { wasCalled = true; }; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests nav._postRender(1, view1, null, false, null, done); @@ -417,7 +417,7 @@ describe('NavController', () => { let leavingView = new ViewController(Page2); var navOptions: NavOptions = {}; var done = () => {}; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests spyOn(enteringView, 'fireWillEnter'); @@ -433,7 +433,7 @@ describe('NavController', () => { preload: true }; var done = () => {}; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests spyOn(enteringView, 'fireWillEnter'); @@ -447,7 +447,7 @@ describe('NavController', () => { let leavingView = new ViewController(Page2); var navOptions: NavOptions = {}; var done = () => {}; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests spyOn(leavingView, 'fireWillLeave'); @@ -461,7 +461,7 @@ describe('NavController', () => { let leavingView = new ViewController(Page2); var navOptions: NavOptions = {}; var done = () => {}; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests spyOn(enteringView, 'fireWillEnter'); spyOn(leavingView, 'fireWillLeave'); @@ -479,7 +479,7 @@ describe('NavController', () => { let leavingView = new ViewController(Page2); var navOptions: NavOptions = {}; var done = () => {}; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests spyOn(enteringView, 'fireWillEnter'); spyOn(leavingView, 'fireWillLeave'); @@ -499,7 +499,7 @@ describe('NavController', () => { preload: true }; var done = () => {}; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests spyOn(leavingView, 'fireWillLeave'); @@ -515,7 +515,7 @@ describe('NavController', () => { preload: true }; var done = () => {}; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests nav._postRender(1, enteringView, leavingView, false, navOptions, done); @@ -528,7 +528,7 @@ describe('NavController', () => { let isAlreadyTransitioning = true; var navOptions: NavOptions = {}; var done = () => {}; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests nav._renderer = null; spyOn(enteringView, 'domShow'); @@ -547,7 +547,7 @@ describe('NavController', () => { let isAlreadyTransitioning = false; var navOptions: NavOptions = {}; var done = () => {}; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests nav._renderer = null; nav._views = [view1, view2, view3]; @@ -570,11 +570,11 @@ describe('NavController', () => { let isAlreadyTransitioning = false; var navOptions: NavOptions = {}; var done = () => {}; - nav._beforeTrans = () => {}; //prevent running beforeTrans for tests + nav._beforeTrans = () => {}; // prevent running beforeTrans for tests nav._renderer = null; nav._views = [view1, view2, view3, view4]; - nav._isPortal = true + nav._isPortal = true; spyOn(view1, 'domShow'); spyOn(view2, 'domShow'); @@ -729,7 +729,7 @@ describe('NavController', () => { let navOpts: NavOptions = {}; let hasCompleted = true; let doneCalled = false; - let done = () => {doneCalled = true;} + let done = () => {doneCalled = true; }; spyOn(enteringView, 'fireDidEnter'); spyOn(leavingView, 'fireDidLeave'); @@ -750,7 +750,7 @@ describe('NavController', () => { }; let hasCompleted = true; let doneCalled = false; - let done = () => {doneCalled = true;} + let done = () => {doneCalled = true; }; spyOn(enteringView, 'fireDidEnter'); spyOn(leavingView, 'fireDidLeave'); @@ -769,7 +769,7 @@ describe('NavController', () => { let navOpts: NavOptions = {}; let hasCompleted = true; let doneCalled = false; - let done = () => {doneCalled = true;} + let done = () => {doneCalled = true; }; enteringView.fireOtherLifecycles = false; @@ -789,7 +789,7 @@ describe('NavController', () => { let navOpts: NavOptions = {}; let hasCompleted = true; let doneCalled = false; - let done = () => {doneCalled = true;} + let done = () => {doneCalled = true; }; leavingView.fireOtherLifecycles = false; @@ -810,7 +810,7 @@ describe('NavController', () => { let navOpts: NavOptions = {}; let hasCompleted = false; let doneCalled = false; - let done = () => {doneCalled = true;} + let done = () => {doneCalled = true; }; spyOn(enteringView, 'fireDidEnter'); spyOn(leavingView, 'fireDidLeave'); @@ -1038,7 +1038,7 @@ describe('NavController', () => { spyOn(nav._app, 'setEnabled'); spyOn(nav, 'setTransitioning'); - nav.getLongestTrans = () => { return 50 }; + nav.getLongestTrans = () => { return 50; }; // act nav._transFinish(nav._transIds, enteringView, leavingView, direction, updateUrl, hasCompleted); @@ -1215,7 +1215,7 @@ describe('NavController', () => { view1.state = STATE_ACTIVE; nav._views = [view1]; - let view2 = new ViewController(Page2) + let view2 = new ViewController(Page2); nav._insert(-1, [view2]); expect(nav.length()).toBe(2); expect(nav.getByIndex(0).state).toBe(STATE_INIT_LEAVE); @@ -1225,7 +1225,7 @@ describe('NavController', () => { }); it('should push the first page, using a number greater than the length', () => { - let view1 = new ViewController(Page1) + let view1 = new ViewController(Page1); nav._insert(8675309, [view1]); expect(nav.length()).toBe(1); @@ -1233,7 +1233,7 @@ describe('NavController', () => { }); it('should push the first page, using -1', () => { - let view1 = new ViewController(Page1) + let view1 = new ViewController(Page1); nav._insert(-1, [view1]); expect(nav.getByIndex(0).id).toBeDefined(); @@ -1438,7 +1438,7 @@ describe('NavController', () => { spyOn(nav._app, 'setEnabled'); spyOn(nav, 'setTransitioning'); - nav.getLongestTrans = () => { return Date.now() + 100 }; + nav.getLongestTrans = () => { return Date.now() + 100; }; let view1 = new ViewController(Page1); let view2 = new ViewController(Page2); diff --git a/src/components/nav/test/nested/index.ts b/src/components/nav/test/nested/index.ts index bdfc203617..fcd8e65fff 100644 --- a/src/components/nav/test/nested/index.ts +++ b/src/components/nav/test/nested/index.ts @@ -1,6 +1,6 @@ -import {Component, ViewChild} from '@angular/core'; -import {ionicBootstrap, NavController, MenuController} from '../../../../../src'; -import {Config, Nav, App} from '../../../../../src'; +import { Component, ViewChild } from '@angular/core'; +import { ionicBootstrap, NavController, MenuController } from '../../../../../src'; +import { Config, Nav, App } from '../../../../../src'; @Component({ diff --git a/src/components/nav/test/view-controller.spec.ts b/src/components/nav/test/view-controller.spec.ts index 64a19cef14..3a923bbba9 100644 --- a/src/components/nav/test/view-controller.spec.ts +++ b/src/components/nav/test/view-controller.spec.ts @@ -1,10 +1,10 @@ -import {LifeCycleEvent, ViewController} from '../../../../src'; +import { LifeCycleEvent, ViewController } from '../../../../src'; export function run() { describe('ViewController', () => { afterEach(() => { - if ( subscription ){ + if ( subscription ) { subscription.unsubscribe(); } }); @@ -13,7 +13,7 @@ export function run() { it('should emit LifeCycleEvent when called with component data', (done) => { // arrange let viewController = new ViewController(FakePage); - subscription = viewController.willEnter.subscribe((event:LifeCycleEvent) => { + subscription = viewController.willEnter.subscribe((event: LifeCycleEvent) => { // assert expect(event).toEqual(null); done(); @@ -30,7 +30,7 @@ export function run() { it('should emit LifeCycleEvent when called with component data', (done) => { // arrange let viewController = new ViewController(FakePage); - subscription = viewController.didEnter.subscribe((event:LifeCycleEvent) => { + subscription = viewController.didEnter.subscribe((event: LifeCycleEvent) => { // assert expect(event).toEqual(null); done(); @@ -47,7 +47,7 @@ export function run() { it('should emit LifeCycleEvent when called with component data', (done) => { // arrange let viewController = new ViewController(FakePage); - subscription = viewController.willLeave.subscribe((event:LifeCycleEvent) => { + subscription = viewController.willLeave.subscribe((event: LifeCycleEvent) => { // assert expect(event).toEqual(null); done(); @@ -64,7 +64,7 @@ export function run() { it('should emit LifeCycleEvent when called with component data', (done) => { // arrange let viewController = new ViewController(FakePage); - subscription = viewController.didLeave.subscribe((event:LifeCycleEvent) => { + subscription = viewController.didLeave.subscribe((event: LifeCycleEvent) => { // assert expect(event).toEqual(null); done(); @@ -81,7 +81,7 @@ export function run() { it('should emit LifeCycleEvent when called with component data', (done) => { // arrange let viewController = new ViewController(FakePage); - subscription = viewController.willUnload.subscribe((event:LifeCycleEvent) => { + subscription = viewController.willUnload.subscribe((event: LifeCycleEvent) => { expect(event).toEqual(null); done(); }, (err: any) => { @@ -97,7 +97,7 @@ export function run() { it('should emit LifeCycleEvent when called with component data', (done) => { // arrange let viewController = new ViewController(FakePage); - subscription = viewController.didUnload.subscribe((event:LifeCycleEvent) => { + subscription = viewController.didUnload.subscribe((event: LifeCycleEvent) => { // assert expect(event).toEqual(null); done(); @@ -112,5 +112,5 @@ export function run() { }); let subscription: any = null; - class FakePage{} + class FakePage {} } diff --git a/src/components/popover/test/basic/index.ts b/src/components/popover/test/basic/index.ts index 057ba4e0f6..cd70dc4b29 100644 --- a/src/components/popover/test/basic/index.ts +++ b/src/components/popover/test/basic/index.ts @@ -102,8 +102,8 @@ class PopoverRadioPage { if (!background) return 'white'; - for(var key in this.colors) { - if (this.colors[key].bg == background) { + for (var key in this.colors) { + if (this.colors[key].bg === background) { colorName = key; } } @@ -113,7 +113,7 @@ class PopoverRadioPage { setFontFamily() { if (this.textEle.style.fontFamily) { - this.fontFamily = this.textEle.style.fontFamily.replace(/'/g, ""); + this.fontFamily = this.textEle.style.fontFamily.replace(/'/g, ''); } } @@ -165,7 +165,7 @@ class PopoverLongListPage { items: number[] = []; ngOnInit() { - for(let i = 1; i < 21; i++) { + for (let i = 1; i < 21; i++) { this.items.push(i); } } diff --git a/src/components/radio/test/radio.spec.ts b/src/components/radio/test/radio.spec.ts index ed95a87178..eebb722bf0 100644 --- a/src/components/radio/test/radio.spec.ts +++ b/src/components/radio/test/radio.spec.ts @@ -1,4 +1,4 @@ -import {RadioGroup, RadioButton, Form} from '../../../../src'; +import { RadioGroup, RadioButton, Form } from '../../../../src'; export function run() { describe('RadioGroup', () => { @@ -111,19 +111,19 @@ export function run() { let form: Form; function createRadioButton(shouldIncludeGroup = true) { - return new RadioButton(form, null, shouldIncludeGroup? rg : null); + return new RadioButton(form, null, shouldIncludeGroup ? rg : null); } function mockRenderer(): any { return { setElementAttribute: function(){} - } + }; } function mockElementRef(): any { return { nativeElement: document.createElement('div') - } + }; } beforeEach(() => { diff --git a/src/components/refresher/test/basic/index.ts b/src/components/refresher/test/basic/index.ts index ade4173ee0..859232c9b7 100644 --- a/src/components/refresher/test/basic/index.ts +++ b/src/components/refresher/test/basic/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap, Refresher} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap, Refresher } from '../../../../../src'; @Component({ diff --git a/src/components/scroll/test/basic/index.ts b/src/components/scroll/test/basic/index.ts index 1bc0b3022e..53052edd37 100644 --- a/src/components/scroll/test/basic/index.ts +++ b/src/components/scroll/test/basic/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ @@ -7,7 +7,7 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EApp { doRefresh() { - console.log('DOREFRESH') + console.log('DOREFRESH'); } } diff --git a/src/components/searchbar/test/basic/index.ts b/src/components/searchbar/test/basic/index.ts index a0ca41687d..0bb02d84df 100644 --- a/src/components/searchbar/test/basic/index.ts +++ b/src/components/searchbar/test/basic/index.ts @@ -19,33 +19,33 @@ class E2EPage { } onClearSearchbar(ev: any) { - console.log("ionClear", ev.target.value); + console.log('ionClear', ev.target.value); } onCancelSearchbar(ev: any) { - console.log("ionCancel", ev.target.value); + console.log('ionCancel', ev.target.value); } triggerInput(ev: any) { - console.log("ionInput", ev.target.value); + console.log('ionInput', ev.target.value); } inputBlurred(ev: any) { - console.log("ionBlur", ev.target.value); + console.log('ionBlur', ev.target.value); } inputFocused(ev: any) { - console.log("ionFocus", ev.target.value); + console.log('ionFocus', ev.target.value); } ngAfterViewInit() { this.customPlaceholder = 33; - this.defaultCancel = "after view"; + this.defaultCancel = 'after view'; this.changeDetectorRef.detectChanges(); } changeValue() { - this.defaultSearch = "changed"; + this.defaultSearch = 'changed'; } } diff --git a/src/components/searchbar/test/nav/index.ts b/src/components/searchbar/test/nav/index.ts index cfdaff25c2..68625e2c82 100644 --- a/src/components/searchbar/test/nav/index.ts +++ b/src/components/searchbar/test/nav/index.ts @@ -86,7 +86,7 @@ class SearchPage { return true; } return false; - }) + }); } } diff --git a/src/components/searchbar/test/toolbar/index.ts b/src/components/searchbar/test/toolbar/index.ts index 657b0660bc..48ccb8623f 100644 --- a/src/components/searchbar/test/toolbar/index.ts +++ b/src/components/searchbar/test/toolbar/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/segment/test/basic/index.ts b/src/components/segment/test/basic/index.ts index b7d45c4181..c8afcbe867 100644 --- a/src/components/segment/test/basic/index.ts +++ b/src/components/segment/test/basic/index.ts @@ -25,11 +25,11 @@ class E2EPage { } onSegmentChanged(segmentButton: SegmentButton) { - console.log("Segment changed to", segmentButton.value); + console.log('Segment changed to', segmentButton.value); } onSegmentSelected(segmentButton: SegmentButton) { - console.log("Segment selected", segmentButton.value); + console.log('Segment selected', segmentButton.value); } doSubmit(ev: UIEvent) { diff --git a/src/components/select/test/multiple-value/index.ts b/src/components/select/test/multiple-value/index.ts index d901f15071..926cce5de8 100644 --- a/src/components/select/test/multiple-value/index.ts +++ b/src/components/select/test/multiple-value/index.ts @@ -25,7 +25,7 @@ class E2EPage { { text: 'Honey Badger', value: 'honeybadger' }, { text: 'Pig', value: 'pig' }, ]; - this.status = "checked"; + this.status = 'checked'; this.authForm = new FormGroup({ name: new FormControl(''), diff --git a/src/components/select/test/single-value/index.ts b/src/components/select/test/single-value/index.ts index af1967ffba..3701419a37 100644 --- a/src/components/select/test/single-value/index.ts +++ b/src/components/select/test/single-value/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ @@ -24,7 +24,7 @@ class E2EPage { this.month = '12'; this.year = '1994'; this.notification = 'enable'; - this.status = "checked"; + this.status = 'checked'; this.years = [1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999]; @@ -44,7 +44,7 @@ class E2EPage { } stpSelect() { - console.log('STP selected') + console.log('STP selected'); } resetGender() { diff --git a/src/components/slides/slides.ts b/src/components/slides/slides.ts index 389b000952..405473357a 100644 --- a/src/components/slides/slides.ts +++ b/src/components/slides/slides.ts @@ -6,7 +6,7 @@ import { CSS } from '../../util/dom'; import { debounce, defaults, isTrueProperty, isPresent } from '../../util/util'; import { dom } from '../../util'; import { Ion } from '../ion'; -import { Swiper} from './swiper-widget'; +import { Swiper } from './swiper-widget'; /** @@ -83,8 +83,8 @@ import { Swiper} from './swiper-widget'; * To add [options](#configuring), we will define them in `mySlideOptions` in our class `MyPage`: * * ```ts - * import {Component} from '@angular/core'; - * import {Slides} from 'ionic-angular'; + * import { Component } from '@angular/core'; + * import { Slides } from 'ionic-angular'; * * @Component({ * templateUrl: 'my-page.html' @@ -118,7 +118,7 @@ import { Swiper} from './swiper-widget'; * Next, we can use `ViewChild` to assign the Slides instance to `slider`: * * ```ts - * import {ViewChild} from '@angular/core'; + * import { ViewChild } from '@angular/core'; * * class MyPage { * @ViewChild('mySlider') slider: Slides; diff --git a/src/components/slides/test/basic/index.ts b/src/components/slides/test/basic/index.ts index 9faa9dc1df..7267dd95ab 100644 --- a/src/components/slides/test/basic/index.ts +++ b/src/components/slides/test/basic/index.ts @@ -1,6 +1,6 @@ -import {Component, ViewChild} from '@angular/core'; -import {Http} from '@angular/http'; -import {ionicBootstrap, Slides} from '../../../../../src'; +import { Component, ViewChild } from '@angular/core'; +import { Http } from '@angular/http'; +import { ionicBootstrap, Slides } from '../../../../../src'; @Component({ @@ -18,7 +18,7 @@ class E2EApp { } ngAfterViewInit() { - let tags = "amsterdam"; + let tags = 'amsterdam'; let FLICKR_API_KEY = '504fd7414f6275eb5b657ddbfba80a2c'; let baseUrl = 'https://api.flickr.com/services/rest/'; @@ -37,7 +37,7 @@ class E2EApp { }); } - getImageUrl(item) { + getImageUrl(item: any) { return `http://farm${item.farm}.static.flickr.com/${item.server}/${item.id}_${item.secret}_z.jpg`; } diff --git a/src/components/slides/test/controller/index.ts b/src/components/slides/test/controller/index.ts index ea121eed85..03b122e490 100644 --- a/src/components/slides/test/controller/index.ts +++ b/src/components/slides/test/controller/index.ts @@ -1,5 +1,5 @@ -import {Component, ViewChild} from '@angular/core'; -import {ionicBootstrap, Slides} from '../../../../../src'; +import { Component, ViewChild } from '@angular/core'; +import { ionicBootstrap, Slides } from '../../../../../src'; @Component({ @@ -15,11 +15,11 @@ class MyPage { onSlideChanged() { let previousIndex = this.slider.getPreviousIndex(); let currentIndex = this.slider.getActiveIndex(); - console.log("Previous index is", previousIndex, "Current index is", currentIndex); + console.log('Previous index is', previousIndex, 'Current index is', currentIndex); } - onSlideMove(ev) { - console.log("Slide moving", ev); + onSlideMove(ev: any) { + console.log('Slide moving', ev); } goToPrevSlide() { @@ -30,18 +30,18 @@ class MyPage { this.slider.slideNext(); } - goToSlide(index) { + goToSlide(index: number) { this.slider.slideTo(index); } getIndex() { let index = this.slider.getActiveIndex(); - console.log("Current Index is", index); + console.log('Current Index is', index); } getLength() { let length = this.slider.length(); - console.log("Current Length is", length); + console.log('Current Length is', length); } } diff --git a/src/components/slides/test/intro/index.ts b/src/components/slides/test/intro/index.ts index 8b3b6fa4af..7461f98726 100644 --- a/src/components/slides/test/intro/index.ts +++ b/src/components/slides/test/intro/index.ts @@ -1,4 +1,4 @@ -import { Component} from '@angular/core'; +import { Component } from '@angular/core'; import { ionicBootstrap, NavController } from '../../../../../src'; @@ -6,7 +6,7 @@ import { ionicBootstrap, NavController } from '../../../../../src'; templateUrl: 'main.html' }) class IntroPage { - continueText: string = "Skip"; + continueText: string = 'Skip'; startingIndex: number = 1; mySlideOptions: any; showSlide: boolean = true; @@ -26,11 +26,11 @@ class IntroPage { onSlideChangeStart(slider: any) { console.log('Slide change start', slider); - slider.isEnd ? this.continueText = 'Continue' : this.continueText = "Skip"; + slider.isEnd ? this.continueText = 'Continue' : this.continueText = 'Skip'; } onSlideMove(slider: any) { - console.log("Slide move", slider); + console.log('Slide move', slider); } toggleLastSlide() { diff --git a/src/components/slides/test/loop/index.ts b/src/components/slides/test/loop/index.ts index 8b95e2cd42..582158acbe 100644 --- a/src/components/slides/test/loop/index.ts +++ b/src/components/slides/test/loop/index.ts @@ -1,5 +1,5 @@ -import {Component, ViewChild} from '@angular/core'; -import {ionicBootstrap, Slides} from '../../../../../src'; +import { Component, ViewChild } from '@angular/core'; +import { ionicBootstrap, Slides } from '../../../../../src'; @Component({ diff --git a/src/components/slides/test/scroll/index.ts b/src/components/slides/test/scroll/index.ts index 54b21c5cd9..13b93540f2 100644 --- a/src/components/slides/test/scroll/index.ts +++ b/src/components/slides/test/scroll/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/spinner/test/basic/index.ts b/src/components/spinner/test/basic/index.ts index 646b167657..c196220921 100644 --- a/src/components/spinner/test/basic/index.ts +++ b/src/components/spinner/test/basic/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/tabs/tab.ts b/src/components/tabs/tab.ts index e04ab0a3aa..3fa3abde93 100644 --- a/src/components/tabs/tab.ts +++ b/src/components/tabs/tab.ts @@ -3,13 +3,13 @@ import { ChangeDetectorRef, Component, ComponentResolver, ElementRef, EventEmitt import { App } from '../app/app'; import { Config } from '../../config/config'; import { GestureController } from '../../gestures/gesture-controller'; -import { isTrueProperty} from '../../util/util'; -import { Keyboard} from '../../util/keyboard'; +import { isTrueProperty } from '../../util/util'; +import { Keyboard } from '../../util/keyboard'; import { NavControllerBase } from '../nav/nav-controller-base'; -import { NavOptions} from '../nav/nav-interfaces'; -import { TabButton} from './tab-button'; -import { Tabs} from './tabs'; -import { ViewController} from '../nav/view-controller'; +import { NavOptions } from '../nav/nav-interfaces'; +import { TabButton } from './tab-button'; +import { Tabs } from './tabs'; +import { ViewController } from '../nav/view-controller'; /** @@ -38,7 +38,7 @@ import { ViewController} from '../nav/view-controller'; * Then, in your class you can set `chatRoot` to an imported class: * * ```ts - * import {ChatPage} from '../chat/chat'; + * import { ChatPage } from '../chat/chat'; * * export class Tabs { * // here we'll set the property of chatRoot to diff --git a/src/components/tabs/test/advanced/index.ts b/src/components/tabs/test/advanced/index.ts index 072831de21..5a8976b140 100644 --- a/src/components/tabs/test/advanced/index.ts +++ b/src/components/tabs/test/advanced/index.ts @@ -104,7 +104,7 @@ class Tab1Page1 { console.log('go back begin'); this.nav.pop().then((val: any) => { console.log('go back completed', val); - });; + }); } favoritesTab() { diff --git a/src/components/tabs/test/badges/index.ts b/src/components/tabs/test/badges/index.ts index d69e633708..cf6fe8e945 100644 --- a/src/components/tabs/test/badges/index.ts +++ b/src/components/tabs/test/badges/index.ts @@ -1,8 +1,8 @@ -import {Component, ViewEncapsulation} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component, ViewEncapsulation } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; -@Component({template:'hi'}) -class E2EPage{} +@Component({template: 'hi'}) +class E2EPage {} @Component({ diff --git a/src/components/tabs/test/basic/index.ts b/src/components/tabs/test/basic/index.ts index ded7adb258..2b8325066e 100644 --- a/src/components/tabs/test/basic/index.ts +++ b/src/components/tabs/test/basic/index.ts @@ -1,4 +1,4 @@ -import { Component} from '@angular/core'; +import { Component } from '@angular/core'; import { ionicBootstrap, App, AlertController, ModalController, ViewController, Tab, Tabs } from '../../../../../src'; // diff --git a/src/components/tabs/test/child-navs/index.ts b/src/components/tabs/test/child-navs/index.ts index ae9239bf0b..2623aebe5f 100644 --- a/src/components/tabs/test/child-navs/index.ts +++ b/src/components/tabs/test/child-navs/index.ts @@ -76,7 +76,7 @@ class Tab3 { ` }) -class SecondPage{ +class SecondPage { root = ThirdPage; } @@ -88,7 +88,7 @@ class SecondPage{ ` }) -class ThirdPage{ +class ThirdPage { root = FourthPage; } @@ -110,12 +110,12 @@ class ThirdPage{ ` }) -class FourthPage{ +class FourthPage { private items: string[]; - ionViewWillEnter(){ + ionViewWillEnter() { let items: string[] = []; - for ( let i = 0 ; i < 500; i++ ){ + for ( let i = 0 ; i < 500; i++ ) { items.push(`Item ${(i + 1)}`); } this.items = items; diff --git a/src/components/tabs/test/colors/index.ts b/src/components/tabs/test/colors/index.ts index eae0f0571d..3dd955b571 100644 --- a/src/components/tabs/test/colors/index.ts +++ b/src/components/tabs/test/colors/index.ts @@ -1,9 +1,9 @@ -import {Component, ViewEncapsulation} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component, ViewEncapsulation } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; -@Component({template:'hi'}) -class E2EPage{} +@Component({template: 'hi'}) +class E2EPage {} @Component({ diff --git a/src/components/tabs/test/ghost/index.ts b/src/components/tabs/test/ghost/index.ts index db9b861969..a81ed5ca6c 100644 --- a/src/components/tabs/test/ghost/index.ts +++ b/src/components/tabs/test/ghost/index.ts @@ -1,5 +1,5 @@ -import {Component, ContentChild, QueryList, ViewChildren} from '@angular/core'; -import {ionicBootstrap, NavController, Tab} from '../../../../../src'; +import { Component, ContentChild, QueryList, ViewChildren } from '@angular/core'; +import { ionicBootstrap, NavController, Tab } from '../../../../../src'; // @@ -113,19 +113,19 @@ class TabsPage { root2 = Tab2; root3 = Tab3; - @ViewChildren(Tab) tab : QueryList; + @ViewChildren(Tab) tab: QueryList; ngAfterViewInit() { console.log('Tab', this.tab); console.log(this.tab.first.setRoot); } - openPage(which) { + openPage(which: string) { let pages = { 'quesarito': QuesaritoPage }; - this.tab.first.setRoot(pages[which]) + this.tab.first.setRoot(pages[which]); } } diff --git a/src/components/tabs/test/tab-bar-scenarios/index.ts b/src/components/tabs/test/tab-bar-scenarios/index.ts index eae0f0571d..3dd955b571 100644 --- a/src/components/tabs/test/tab-bar-scenarios/index.ts +++ b/src/components/tabs/test/tab-bar-scenarios/index.ts @@ -1,9 +1,9 @@ -import {Component, ViewEncapsulation} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component, ViewEncapsulation } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; -@Component({template:'hi'}) -class E2EPage{} +@Component({template: 'hi'}) +class E2EPage {} @Component({ diff --git a/src/components/tap-click/activator.ts b/src/components/tap-click/activator.ts index dd8d099fbe..9104698e53 100644 --- a/src/components/tap-click/activator.ts +++ b/src/components/tap-click/activator.ts @@ -1,6 +1,6 @@ -import {App} from '../app/app'; -import {Config} from '../../config/config'; -import {Coordinates, nativeTimeout, rafFrames} from '../../util/dom'; +import { App } from '../app/app'; +import { Config } from '../../config/config'; +import { Coordinates, nativeTimeout, rafFrames } from '../../util/dom'; export class Activator { diff --git a/src/components/tap-click/ripple.ts b/src/components/tap-click/ripple.ts index 3dc2c04012..7c89d9d631 100644 --- a/src/components/tap-click/ripple.ts +++ b/src/components/tap-click/ripple.ts @@ -1,7 +1,7 @@ -import {Activator} from './activator'; -import {App} from '../app/app'; -import {Coordinates, CSS, hasPointerMoved, nativeRaf, pointerCoord, rafFrames} from '../../util/dom'; -import {Config} from '../../config/config'; +import { Activator } from './activator'; +import { App } from '../app/app'; +import { Coordinates, CSS, hasPointerMoved, nativeRaf, pointerCoord, rafFrames } from '../../util/dom'; +import { Config } from '../../config/config'; /** diff --git a/src/components/tap-click/test/tapClick.spec.ts b/src/components/tap-click/test/tapClick.spec.ts index 14981258c0..738d295b35 100644 --- a/src/components/tap-click/test/tapClick.spec.ts +++ b/src/components/tap-click/test/tapClick.spec.ts @@ -1,10 +1,10 @@ -import {isActivatable} from '../../../../src'; +import { isActivatable } from '../../../../src'; export function run() { - describe("TapClick", () => { + describe('TapClick', () => { - describe("isActivatable", () => { + describe('isActivatable', () => { it('should be activatable on element', () => { let ele = document.createElement('a'); diff --git a/src/components/toast/test/basic/index.ts b/src/components/toast/test/basic/index.ts index 248d60eaaa..afc26f7ee8 100644 --- a/src/components/toast/test/basic/index.ts +++ b/src/components/toast/test/basic/index.ts @@ -63,7 +63,7 @@ class E2EPage { toast.present(); } - showToastWithCloseButton(positionString:string) { + showToastWithCloseButton(positionString: string) { const toast = this.toastCtrl.create({ message: 'Your internet connection appears to be offline. Data integrity is not gauranteed.', showCloseButton: true, diff --git a/src/components/toggle/test/basic/index.ts b/src/components/toggle/test/basic/index.ts index 46062cbf43..7135724c9a 100644 --- a/src/components/toggle/test/basic/index.ts +++ b/src/components/toggle/test/basic/index.ts @@ -16,10 +16,10 @@ class E2EPage { constructor() { this.fruitsForm = new FormGroup({ - "appleCtrl": new FormControl(false), - "bananaCtrl": new FormControl(true), - "cherryCtrl": new FormControl(false), - "grapeCtrl": new FormControl(true) + 'appleCtrl': new FormControl(false), + 'bananaCtrl': new FormControl(true), + 'cherryCtrl': new FormControl(false), + 'grapeCtrl': new FormControl(true) }); this.grapeChecked = true; diff --git a/src/components/toolbar/test/colors/index.ts b/src/components/toolbar/test/colors/index.ts index 41a0318bf8..48c3ab3ed3 100644 --- a/src/components/toolbar/test/colors/index.ts +++ b/src/components/toolbar/test/colors/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ @@ -7,7 +7,7 @@ import {ionicBootstrap} from '../../../../../src'; }) class E2EApp { - buttonClick(button) { + buttonClick(button: any) { console.log(button); } diff --git a/src/components/toolbar/test/scenarios/index.ts b/src/components/toolbar/test/scenarios/index.ts index 41a0318bf8..55285ce2d4 100644 --- a/src/components/toolbar/test/scenarios/index.ts +++ b/src/components/toolbar/test/scenarios/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/toolbar/toolbar-item.ts b/src/components/toolbar/toolbar-item.ts index 699ff46d20..04ea4d62e5 100644 --- a/src/components/toolbar/toolbar-item.ts +++ b/src/components/toolbar/toolbar-item.ts @@ -1,8 +1,8 @@ -import {Directive, ElementRef, Optional, forwardRef, Inject, ContentChildren} from '@angular/core'; +import { Directive, ElementRef, Optional, forwardRef, Inject, ContentChildren } from '@angular/core'; -import {Button} from '../button/button'; -import {Navbar} from '../navbar/navbar'; -import {Toolbar} from './toolbar'; +import { Button } from '../button/button'; +import { Navbar } from '../navbar/navbar'; +import { Toolbar } from './toolbar'; /** diff --git a/src/components/toolbar/toolbar-title.ts b/src/components/toolbar/toolbar-title.ts index 799099c6ad..707df9ddc6 100644 --- a/src/components/toolbar/toolbar-title.ts +++ b/src/components/toolbar/toolbar-title.ts @@ -1,8 +1,8 @@ -import {Component, ElementRef, Optional, forwardRef, Inject, ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core'; +import { Component, ElementRef, Optional, forwardRef, Inject, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core'; -import {Ion} from '../ion'; -import {Navbar} from '../navbar/navbar'; -import {Toolbar} from './toolbar'; +import { Ion } from '../ion'; +import { Navbar } from '../navbar/navbar'; +import { Toolbar } from './toolbar'; /** diff --git a/src/components/virtual-scroll/test/basic/index.ts b/src/components/virtual-scroll/test/basic/index.ts index 49b8b08dbf..f17bb3a9e3 100644 --- a/src/components/virtual-scroll/test/basic/index.ts +++ b/src/components/virtual-scroll/test/basic/index.ts @@ -1,5 +1,5 @@ -import {Component, ViewChild, ElementRef} from '@angular/core'; -import {ionicBootstrap, Platform} from '../../../../../src'; +import { Component, ViewChild, ElementRef } from '@angular/core'; +import { ionicBootstrap, Platform } from '../../../../../src'; @Component({ diff --git a/src/components/virtual-scroll/test/cards/index.ts b/src/components/virtual-scroll/test/cards/index.ts index 1684c3ec5e..5edca67c1a 100644 --- a/src/components/virtual-scroll/test/cards/index.ts +++ b/src/components/virtual-scroll/test/cards/index.ts @@ -1,5 +1,5 @@ -import {Component, ViewEncapsulation} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component, ViewEncapsulation } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/virtual-scroll/test/image-gallery/index.ts b/src/components/virtual-scroll/test/image-gallery/index.ts index d74059d606..89f74c7dd7 100644 --- a/src/components/virtual-scroll/test/image-gallery/index.ts +++ b/src/components/virtual-scroll/test/image-gallery/index.ts @@ -1,5 +1,5 @@ -import {Component, ViewEncapsulation} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component, ViewEncapsulation } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ @@ -42,7 +42,7 @@ class E2EPage { return { date: monthNames[this.lastMonth] + ' ' + record.date.getFullYear() - } + }; } return null; @@ -63,7 +63,7 @@ class E2EPage { } ngDoCheck() { - console.log('DoCheck') + console.log('DoCheck'); } reload() { diff --git a/src/components/virtual-scroll/test/sliding-item/index.ts b/src/components/virtual-scroll/test/sliding-item/index.ts index 49b8b08dbf..f17bb3a9e3 100644 --- a/src/components/virtual-scroll/test/sliding-item/index.ts +++ b/src/components/virtual-scroll/test/sliding-item/index.ts @@ -1,5 +1,5 @@ -import {Component, ViewChild, ElementRef} from '@angular/core'; -import {ionicBootstrap, Platform} from '../../../../../src'; +import { Component, ViewChild, ElementRef } from '@angular/core'; +import { ionicBootstrap, Platform } from '../../../../../src'; @Component({ diff --git a/src/components/virtual-scroll/test/variable-size/index.ts b/src/components/virtual-scroll/test/variable-size/index.ts index c4a4d58986..b69a110c97 100644 --- a/src/components/virtual-scroll/test/variable-size/index.ts +++ b/src/components/virtual-scroll/test/variable-size/index.ts @@ -1,5 +1,5 @@ -import {Component} from '@angular/core'; -import {ionicBootstrap} from '../../../../../src'; +import { Component } from '@angular/core'; +import { ionicBootstrap } from '../../../../../src'; @Component({ diff --git a/src/components/virtual-scroll/test/virtual-scroll.spec.ts b/src/components/virtual-scroll/test/virtual-scroll.spec.ts index e9f0dd1442..dc619cf235 100644 --- a/src/components/virtual-scroll/test/virtual-scroll.spec.ts +++ b/src/components/virtual-scroll/test/virtual-scroll.spec.ts @@ -1,6 +1,6 @@ -import {VirtualScroll} from '../../../../src/components/virtual-scroll/virtual-scroll'; -import {VirtualCell, VirtualData, VirtualNode} from '../../../../src/components/virtual-scroll/virtual-util'; -import {processRecords, populateNodeData, initReadNodes, getVirtualHeight, adjustRendered} from '../../../../src/components/virtual-scroll/virtual-util'; +import { VirtualScroll } from '../../../../src/components/virtual-scroll/virtual-scroll'; +import { VirtualCell, VirtualData, VirtualNode } from '../../../../src/components/virtual-scroll/virtual-util'; +import { processRecords, populateNodeData, initReadNodes, getVirtualHeight, adjustRendered } from '../../../../src/components/virtual-scroll/virtual-util'; diff --git a/src/components/virtual-scroll/virtual-item.ts b/src/components/virtual-scroll/virtual-item.ts index 04ba7497eb..488b40a96c 100644 --- a/src/components/virtual-scroll/virtual-item.ts +++ b/src/components/virtual-scroll/virtual-item.ts @@ -1,4 +1,4 @@ -import {Directive, TemplateRef, ViewContainerRef} from '@angular/core'; +import { Directive, TemplateRef, ViewContainerRef } from '@angular/core'; /** diff --git a/src/components/virtual-scroll/virtual-util.ts b/src/components/virtual-scroll/virtual-util.ts index 4cc73fdb80..3e93151b52 100644 --- a/src/components/virtual-scroll/virtual-util.ts +++ b/src/components/virtual-scroll/virtual-util.ts @@ -1,6 +1,6 @@ -import {Directive, Input, ViewContainerRef, TemplateRef, EmbeddedViewRef, } from '@angular/core'; +import { Directive, Input, ViewContainerRef, TemplateRef, EmbeddedViewRef, } from '@angular/core'; -import {CSS} from '../../util/dom'; +import { CSS } from '../../util/dom'; /** diff --git a/src/config/config.ts b/src/config/config.ts index 81f7d374ce..da90afc72e 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -6,8 +6,8 @@ * Config allows you to set the modes of your components */ -import {Platform} from '../platform/platform'; -import {isObject, isDefined, isFunction, isArray} from '../util/util'; +import { Platform } from '../platform/platform'; +import { isObject, isDefined, isFunction, isArray } from '../util/util'; /** * @name Config @@ -17,7 +17,7 @@ import {isObject, isDefined, isFunction, isArray} from '../util/util'; * You can set the tab placement, icon mode, animations, and more here. * * ```ts - * import {ionicBootstrap} from 'ionic-angular'; + * import { ionicBootstrap } from 'ionic-angular'; * * ionicBootstrap(AppRoot, customProviders, { * backButtonText: 'Go Back', @@ -34,7 +34,7 @@ import {isObject, isDefined, isFunction, isArray} from '../util/util'; * Below is an example where an app can override any setting we want based on a platform. * * ```ts - * import {ionicBootstrap} from 'ionic-angular'; + * import { ionicBootstrap } from 'ionic-angular'; * * ionicBootstrap(AppRoot, customProviders, { * tabsPlacement: 'bottom', diff --git a/src/config/modes.ts b/src/config/modes.ts index 3e0a631377..c691cfa7ab 100644 --- a/src/config/modes.ts +++ b/src/config/modes.ts @@ -1,5 +1,5 @@ -import {Config} from './config'; +import { Config } from './config'; // iOS Mode Settings diff --git a/src/config/test/config.spec.ts b/src/config/test/config.spec.ts index b734ad2ec2..0593462139 100644 --- a/src/config/test/config.spec.ts +++ b/src/config/test/config.spec.ts @@ -1,4 +1,4 @@ -import {Config, Platform, ionicProviders} from '../../../src'; +import { Config, Platform, ionicProviders } from '../../../src'; export function run() { @@ -81,7 +81,7 @@ describe('Config', () => { it('should used passed in Config instance in ionicProviders', () => { let userConfig = new Config({ mode: 'configInstance' - }) + }); let providers = ionicProviders(null, userConfig); let config = providers.find(provider => provider.useValue instanceof Config).useValue; @@ -128,13 +128,13 @@ describe('Config', () => { it('should get boolean value from querystring', () => { let config = new Config(); let platform = new Platform(); - platform.setUrl('http://biff.com/?ionicanimate=true') + platform.setUrl('http://biff.com/?ionicanimate=true'); config.setPlatform(platform); expect(config.get('animate')).toEqual(true); config = new Config(); platform = new Platform(); - platform.setUrl('http://biff.com/?ionicanimate=false') + platform.setUrl('http://biff.com/?ionicanimate=false'); config.setPlatform(platform); expect(config.get('animate')).toEqual(false); }); @@ -144,7 +144,7 @@ describe('Config', () => { mode: 'a' }); let platform = new Platform(); - platform.setUrl('http://biff.com/?ionicConfigKey=b') + platform.setUrl('http://biff.com/?ionicConfigKey=b'); config.setPlatform(platform); expect(config.get('configKey')).toEqual('b'); @@ -155,7 +155,7 @@ describe('Config', () => { mode: 'modeA' }); let platform = new Platform(); - platform.setUrl('http://biff.com/?ionicmode=modeB') + platform.setUrl('http://biff.com/?ionicmode=modeB'); config.setPlatform(platform); expect(config.get('mode')).toEqual('modeB'); @@ -542,7 +542,7 @@ describe('Config', () => { config = new Config(); expect(config.settings()).toEqual({}); - config = new Config([1,2,3]); + config = new Config([1, 2, 3]); expect(config.settings()).toEqual({}); config = new Config('im bad, you know it'); diff --git a/src/decorators/page.ts b/src/decorators/page.ts index 41a36a6813..bd02cab98b 100644 --- a/src/decorators/page.ts +++ b/src/decorators/page.ts @@ -1,4 +1,4 @@ -import {Component, ChangeDetectionStrategy, ViewEncapsulation, Type} from '@angular/core'; +import { Component, ChangeDetectionStrategy, ViewEncapsulation, Type } from '@angular/core'; const _reflect: any = Reflect; @@ -33,7 +33,7 @@ export interface PageMetadata { export function Page(config: PageMetadata) { return function(cls: any) { // deprecated warning: added beta.8 2016-05-27 - console.warn('@Page decorator has been deprecated. Please use Angular\'s @Component instead.\nimport {Component} from \'@angular/core\';'); + console.warn('@Page decorator has been deprecated. Please use Angular\'s @Component instead.\nimport { Component} from \'@angular/core\';'); config.selector = 'ion-page'; config.host = config.host || {}; diff --git a/src/gestures/gesture.ts b/src/gestures/gesture.ts index 99ec6fbf41..9d40d37d35 100644 --- a/src/gestures/gesture.ts +++ b/src/gestures/gesture.ts @@ -1,5 +1,5 @@ -import {defaults, assign} from '../util'; -import {Hammer, DIRECTION_HORIZONTAL, DIRECTION_VERTICAL} from './hammer'; +import { defaults, assign } from '../util'; +import { Hammer, DIRECTION_HORIZONTAL, DIRECTION_VERTICAL } from './hammer'; /** * @private diff --git a/src/gestures/hammer.ts b/src/gestures/hammer.ts index 25fff48b99..90e6aa6b2b 100644 --- a/src/gestures/hammer.ts +++ b/src/gestures/hammer.ts @@ -1,5 +1,5 @@ /* tslint:disable */ -import {assign} from '../util/util'; +import { assign } from '../util/util'; const win: any = window; const doc: any = document; diff --git a/src/platform/platform.ts b/src/platform/platform.ts index 9372565eb2..523bd8a6e5 100644 --- a/src/platform/platform.ts +++ b/src/platform/platform.ts @@ -1,7 +1,7 @@ -import {EventEmitter, NgZone} from '@angular/core'; +import { EventEmitter, NgZone } from '@angular/core'; -import {getQuerystring} from '../util/util'; -import {ready, windowDimensions, flushDimensionCache} from '../util/dom'; +import { getQuerystring } from '../util/util'; +import { ready, windowDimensions, flushDimensionCache } from '../util/dom'; /** * @name Platform @@ -16,7 +16,7 @@ import {ready, windowDimensions, flushDimensionCache} from '../util/dom'; * * @usage * ```ts - * import {Platform} from 'ionic-angular'; + * import { Platform } from 'ionic-angular'; * * @Component({...}) * export MyPage { @@ -80,7 +80,7 @@ export class Platform { * from a web browser on the iPad then `mobileweb` would be `true`. * * ``` - * import {Platform} from 'ionic-angular'; + * import { Platform } from 'ionic-angular'; * * @Component({...}) * export MyPage { @@ -123,7 +123,7 @@ export class Platform { * it would return `mobile`, `ios`, and `iphone`. * * ``` - * import {Platform} from 'ionic-angular'; + * import { Platform } from 'ionic-angular'; * * @Component({...}) * export MyPage { @@ -147,7 +147,7 @@ export class Platform { * Returns an object containing version information about all of the platforms. * * ``` - * import {Platform} from 'ionic-angular'; + * import { Platform } from 'ionic-angular'; * * @Component({...}) * export MyPage { @@ -195,8 +195,8 @@ export class Platform { * the status bar plugin, so the web should not run status bar plugin logic. * * ``` - * import {Component} from '@angular/core'; - * import {Platform} from 'ionic-angular'; + * import { Component } from '@angular/core'; + * import { Platform } from 'ionic-angular'; * * @Component({...}) * export MyApp { diff --git a/src/platform/registry.ts b/src/platform/registry.ts index 858f5d417e..b9057d6162 100644 --- a/src/platform/registry.ts +++ b/src/platform/registry.ts @@ -1,5 +1,5 @@ -import {Platform} from './platform'; -import {windowLoad} from '../util/dom'; +import { Platform } from './platform'; +import { windowLoad } from '../util/dom'; const win: any = window; const doc: any = document; diff --git a/src/platform/storage/local-storage.ts b/src/platform/storage/local-storage.ts index 78aaf853a1..f862aed4a8 100644 --- a/src/platform/storage/local-storage.ts +++ b/src/platform/storage/local-storage.ts @@ -1,4 +1,4 @@ -import {StorageEngine} from './storage'; +import { StorageEngine } from './storage'; /** @@ -15,8 +15,8 @@ import {StorageEngine} from './storage'; * * @usage * ```ts - * import {Component} from '@angular/core'; - * import {Storage, LocalStorage} from 'ionic-angular'; + * import { Component } from '@angular/core'; + * import { Storage, LocalStorage } from 'ionic-angular'; * @Component({ * template: `` * }); diff --git a/src/platform/storage/sql.ts b/src/platform/storage/sql.ts index 8ea1bdc4a2..78dc5859a7 100644 --- a/src/platform/storage/sql.ts +++ b/src/platform/storage/sql.ts @@ -1,6 +1,6 @@ -import {StorageEngine} from './storage'; +import { StorageEngine } from './storage'; -import {defaults, assign} from '../../util/util'; +import { defaults, assign } from '../../util/util'; const DB_NAME: string = '__ionicstorage'; const win: any = window; diff --git a/src/platform/test/platform.spec.ts b/src/platform/test/platform.spec.ts index 00852f67af..01ee3bd086 100644 --- a/src/platform/test/platform.spec.ts +++ b/src/platform/test/platform.spec.ts @@ -1,4 +1,4 @@ -import {Platform} from '../../../src'; +import { Platform } from '../../../src'; export function run() { @@ -16,7 +16,7 @@ describe('Platform', () => { let ranAction2 = false; let action2 = () => { - ranAction2= true; + ranAction2 = true; }; platform.registerBackButtonAction(action1, 200); @@ -37,7 +37,7 @@ describe('Platform', () => { let ranAction2 = false; let action2 = () => { - ranAction2= true; + ranAction2 = true; }; platform.registerBackButtonAction(action1, 100); @@ -73,7 +73,7 @@ describe('Platform', () => { it('should set core as the fallback', () => { let platform = new Platform(); platform.setUserAgent('idk'); - platform.load(null); + platform.load(); expect(platform.is('android')).toEqual(false); expect(platform.is('ios')).toEqual(false); @@ -97,7 +97,7 @@ describe('Platform', () => { it('should set windows via querystring', () => { let platform = new Platform(); platform.setUrl('/?ionicplatform=windows'); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('mobile')).toEqual(true); @@ -109,7 +109,7 @@ describe('Platform', () => { it('should set ios via querystring', () => { let platform = new Platform(); platform.setUrl('/?ionicplatform=ios'); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('mobile')).toEqual(true); @@ -122,7 +122,7 @@ describe('Platform', () => { let platform = new Platform(); platform.setUrl('/?ionicplatform=windows'); platform.setUserAgent(ANDROID_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('android')).toEqual(false); @@ -134,7 +134,7 @@ describe('Platform', () => { let platform = new Platform(); platform.setUrl('/?ionicplatform=ios'); platform.setUserAgent(ANDROID_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('android')).toEqual(false); @@ -145,7 +145,7 @@ describe('Platform', () => { it('should set android via querystring', () => { let platform = new Platform(); platform.setUrl('/?ionicplatform=android'); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('android')).toEqual(true); @@ -157,7 +157,7 @@ describe('Platform', () => { let platform = new Platform(); platform.setUrl('/?ionicplatform=android'); platform.setUserAgent(IPHONE_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('android')).toEqual(true); @@ -168,7 +168,7 @@ describe('Platform', () => { it('should set windows platform via user agent', () => { let platform = new Platform(); platform.setUserAgent(WINDOWS_PHONE_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('mobile')).toEqual(true); @@ -180,7 +180,7 @@ describe('Platform', () => { it('should set windows platform via windows8 mobile user agent', () => { let platform = new Platform(); platform.setUserAgent(WINDOWS8_PHONE_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('mobile')).toEqual(true); @@ -192,7 +192,7 @@ describe('Platform', () => { it('should set windows platform via windows7 mobile user agent', () => { let platform = new Platform(); platform.setUserAgent(WINDOWS7_PHONE_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('mobile')).toEqual(true); @@ -204,7 +204,7 @@ describe('Platform', () => { it('should set android via user agent', () => { let platform = new Platform(); platform.setUserAgent(ANDROID_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('mobile')).toEqual(true); @@ -216,7 +216,7 @@ describe('Platform', () => { it('should set iphone via user agent', () => { let platform = new Platform(); platform.setUserAgent(IPHONE_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('mobile')).toEqual(true); @@ -230,7 +230,7 @@ describe('Platform', () => { it('should set ipad via user agent', () => { let platform = new Platform(); platform.setUserAgent(IPAD_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(false); expect(platform.is('mobile')).toEqual(true); @@ -244,7 +244,7 @@ describe('Platform', () => { it('should set core platform for osx desktop firefox', () => { let platform = new Platform(); platform.setUserAgent(OSX_10_FIREFOX_43_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(true); expect(platform.is('mobile')).toEqual(false); @@ -258,7 +258,7 @@ describe('Platform', () => { it('should set core platform for osx desktop safari', () => { let platform = new Platform(); platform.setUserAgent(OSX_10_SAFARI_9_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(true); expect(platform.is('mobile')).toEqual(false); @@ -272,7 +272,7 @@ describe('Platform', () => { it('should set core platform for osx desktop chrome', () => { let platform = new Platform(); platform.setUserAgent(OSX_10_CHROME_49_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(true); expect(platform.is('mobile')).toEqual(false); @@ -286,7 +286,7 @@ describe('Platform', () => { it('should set core platform for windows desktop chrome', () => { let platform = new Platform(); platform.setUserAgent(WINDOWS_10_CHROME_40_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(true); expect(platform.is('mobile')).toEqual(false); @@ -300,7 +300,7 @@ describe('Platform', () => { it('should set core platform for windows desktop edge', () => { let platform = new Platform(); platform.setUserAgent(WINDOWS_10_EDGE_12_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(true); expect(platform.is('mobile')).toEqual(false); @@ -314,7 +314,7 @@ describe('Platform', () => { it('should set core platform for windows desktop IE', () => { let platform = new Platform(); platform.setUserAgent(WINDOWS_8_IE_11_UA); - platform.load(null); + platform.load(); expect(platform.is('core')).toEqual(true); expect(platform.is('mobile')).toEqual(false); diff --git a/src/transitions/page-transition.ts b/src/transitions/page-transition.ts index f1f6d56863..3377841e95 100644 --- a/src/transitions/page-transition.ts +++ b/src/transitions/page-transition.ts @@ -1,9 +1,9 @@ -import {Animation} from '../animations/animation'; -import {closest} from '../util/dom'; -import {Content} from '../components/content/content'; -import {Tabs} from '../components/tabs/tabs'; -import {Transition, TransitionOptions} from './transition'; -import {ViewController} from '../components/nav/view-controller'; +import { Animation } from '../animations/animation'; +import { closest } from '../util/dom'; +import { Content } from '../components/content/content'; +import { Tabs } from '../components/tabs/tabs'; +import { Transition, TransitionOptions } from './transition'; +import { ViewController } from '../components/nav/view-controller'; /** diff --git a/src/transitions/transition-ios.ts b/src/transitions/transition-ios.ts index 6f29750e9c..a02563ca7e 100644 --- a/src/transitions/transition-ios.ts +++ b/src/transitions/transition-ios.ts @@ -1,7 +1,7 @@ -import {Animation} from '../animations/animation'; -import {PageTransition} from './page-transition'; -import {TransitionOptions} from './transition'; -import {ViewController} from '../components/nav/view-controller'; +import { Animation } from '../animations/animation'; +import { PageTransition } from './page-transition'; +import { TransitionOptions } from './transition'; +import { ViewController } from '../components/nav/view-controller'; const DURATION = 500; const EASING = 'cubic-bezier(0.36,0.66,0.04,1)'; diff --git a/src/transitions/transition-md.ts b/src/transitions/transition-md.ts index 034a6c86f4..f058ae6b89 100644 --- a/src/transitions/transition-md.ts +++ b/src/transitions/transition-md.ts @@ -1,7 +1,7 @@ -import {Animation} from '../animations/animation'; -import {PageTransition} from './page-transition'; -import {TransitionOptions} from './transition'; -import {ViewController} from '../components/nav/view-controller'; +import { Animation } from '../animations/animation'; +import { PageTransition } from './page-transition'; +import { TransitionOptions } from './transition'; +import { ViewController } from '../components/nav/view-controller'; const TRANSLATEY = 'translateY'; const OFF_BOTTOM = '40px'; diff --git a/src/transitions/transition-wp.ts b/src/transitions/transition-wp.ts index 7b98ac3cbc..50bd98960a 100644 --- a/src/transitions/transition-wp.ts +++ b/src/transitions/transition-wp.ts @@ -1,7 +1,7 @@ -import {Animation} from '../animations/animation'; -import {PageTransition} from './page-transition'; -import {TransitionOptions} from './transition'; -import {ViewController} from '../components/nav/view-controller'; +import { Animation } from '../animations/animation'; +import { PageTransition } from './page-transition'; +import { TransitionOptions } from './transition'; +import { ViewController } from '../components/nav/view-controller'; const SHOW_BACK_BTN_CSS = 'show-back-button'; const SCALE_SMALL = .95; diff --git a/src/transitions/transition.ts b/src/transitions/transition.ts index d6cd2a2ada..0dbaca3fb1 100644 --- a/src/transitions/transition.ts +++ b/src/transitions/transition.ts @@ -1,8 +1,8 @@ -import {Animation} from '../animations/animation'; -import {closest} from '../util/dom'; -import {Content} from '../components/content/content'; -import {Tabs} from '../components/tabs/tabs'; -import {ViewController} from '../components/nav/view-controller'; +import { Animation } from '../animations/animation'; +import { closest } from '../util/dom'; +import { Content } from '../components/content/content'; +import { Tabs } from '../components/tabs/tabs'; +import { ViewController } from '../components/nav/view-controller'; /** diff --git a/src/translation/translate_pipe.ts b/src/translation/translate_pipe.ts index 9af7c963de..d59d395b47 100644 --- a/src/translation/translate_pipe.ts +++ b/src/translation/translate_pipe.ts @@ -1,6 +1,6 @@ -import {Injectable, Pipe, PipeTransform} from '@angular/core'; +import { Injectable, Pipe, PipeTransform } from '@angular/core'; -import {Translate} from './translate'; +import { Translate } from './translate'; /** * @private diff --git a/src/util/datetime-util.ts b/src/util/datetime-util.ts index 007342c258..fce66de316 100644 --- a/src/util/datetime-util.ts +++ b/src/util/datetime-util.ts @@ -1,4 +1,4 @@ -import {isBlank, isPresent, isString, isObject, assign} from './util'; +import { isBlank, isPresent, isString, isObject, assign } from './util'; export function renderDateTime(template: string, value: DateTimeData, locale: LocaleData) { diff --git a/src/util/events.ts b/src/util/events.ts index 27a77c688b..08d88cb163 100644 --- a/src/util/events.ts +++ b/src/util/events.ts @@ -6,7 +6,7 @@ * * @usage * ```ts - * import {Events} from 'ionic-angular'; + * import { Events } from 'ionic-angular'; * * constructor(public events: Events) {} * diff --git a/src/util/form.ts b/src/util/form.ts index cccd832863..3327707cc7 100644 --- a/src/util/form.ts +++ b/src/util/form.ts @@ -1,4 +1,4 @@ -import {Injectable} from '@angular/core'; +import { Injectable } from '@angular/core'; /** diff --git a/src/util/keyboard.ts b/src/util/keyboard.ts index bbdf869d9f..a3da2f6172 100644 --- a/src/util/keyboard.ts +++ b/src/util/keyboard.ts @@ -1,9 +1,9 @@ -import {Injectable, NgZone} from '@angular/core'; +import { Injectable, NgZone } from '@angular/core'; -import {Config} from '../config/config'; -import {Form} from './form'; -import {hasFocusedTextInput, nativeRaf, rafFrames, nativeTimeout} from './dom'; -import {Key} from './key'; +import { Config } from '../config/config'; +import { Form } from './form'; +import { hasFocusedTextInput, nativeRaf, rafFrames, nativeTimeout } from './dom'; +import { Key } from './key'; /** * @name Keyboard diff --git a/src/util/scroll-view.ts b/src/util/scroll-view.ts index 75d5006132..52222797fc 100644 --- a/src/util/scroll-view.ts +++ b/src/util/scroll-view.ts @@ -1,4 +1,4 @@ -import {CSS, pointerCoord, nativeRaf, cancelRaf} from '../util/dom'; +import { CSS, pointerCoord, nativeRaf, cancelRaf } from '../util/dom'; export class ScrollView { diff --git a/src/util/test/datetime-util.spec.ts b/src/util/test/datetime-util.spec.ts index 4da10dfd73..6ca8c85008 100644 --- a/src/util/test/datetime-util.spec.ts +++ b/src/util/test/datetime-util.spec.ts @@ -161,7 +161,7 @@ describe('convertDataToISO', () => { var str = datetime.convertDataToISO(data); expect(str).toEqual(''); - var str = datetime.convertDataToISO({}); + str = datetime.convertDataToISO({}); expect(str).toEqual(''); }); @@ -221,7 +221,7 @@ describe('getValueFromFormat', () => { expect(datetime.getValueFromFormat(d, 'hh')).toEqual(0); expect(datetime.getValueFromFormat(d, 'h')).toEqual(0); - var d = datetime.parseDate('11:47'); + d = datetime.parseDate('11:47'); expect(datetime.getValueFromFormat(d, 'hh')).toEqual(11); expect(datetime.getValueFromFormat(d, 'h')).toEqual(11); }); @@ -231,7 +231,7 @@ describe('getValueFromFormat', () => { expect(datetime.getValueFromFormat(d, 'hh')).toEqual(12); expect(datetime.getValueFromFormat(d, 'h')).toEqual(12); - var d = datetime.parseDate('13:47'); + d = datetime.parseDate('13:47'); expect(datetime.getValueFromFormat(d, 'hh')).toEqual(1); expect(datetime.getValueFromFormat(d, 'h')).toEqual(1); }); @@ -241,7 +241,7 @@ describe('getValueFromFormat', () => { expect(datetime.getValueFromFormat(d, 'A')).toEqual('am'); expect(datetime.getValueFromFormat(d, 'a')).toEqual('am'); - var d = datetime.parseDate('11:47'); + d = datetime.parseDate('11:47'); expect(datetime.getValueFromFormat(d, 'A')).toEqual('am'); expect(datetime.getValueFromFormat(d, 'a')).toEqual('am'); }); @@ -251,7 +251,7 @@ describe('getValueFromFormat', () => { expect(datetime.getValueFromFormat(d, 'A')).toEqual('pm'); expect(datetime.getValueFromFormat(d, 'a')).toEqual('pm'); - var d = datetime.parseDate('23:47'); + d = datetime.parseDate('23:47'); expect(datetime.getValueFromFormat(d, 'A')).toEqual('pm'); expect(datetime.getValueFromFormat(d, 'a')).toEqual('pm'); }); @@ -446,11 +446,11 @@ describe('renderTextFormat', () => { expect(datetime.renderTextFormat('a', 'am', d, {})).toEqual('am'); expect(datetime.renderTextFormat('a', 'am', null, {})).toEqual('am'); - var d = datetime.parseDate('11:47'); + d = datetime.parseDate('11:47'); expect(datetime.renderTextFormat('a', 'am', d, {})).toEqual('am'); expect(datetime.renderTextFormat('a', 'am', null, {})).toEqual('am'); - var d = datetime.parseDate('12:47'); + d = datetime.parseDate('12:47'); expect(datetime.renderTextFormat('a', 'pm', d, {})).toEqual('pm'); expect(datetime.renderTextFormat('a', 'pm', null, {})).toEqual('pm'); }); @@ -460,11 +460,11 @@ describe('renderTextFormat', () => { expect(datetime.renderTextFormat('A', 'am', d, {})).toEqual('AM'); expect(datetime.renderTextFormat('A', 'am', null, {})).toEqual('AM'); - var d = datetime.parseDate('11:47'); + d = datetime.parseDate('11:47'); expect(datetime.renderTextFormat('A', 'am', d, {})).toEqual('AM'); expect(datetime.renderTextFormat('A', 'am', null, {})).toEqual('AM'); - var d = datetime.parseDate('12:47'); + d = datetime.parseDate('12:47'); expect(datetime.renderTextFormat('A', 'pm', d, {})).toEqual('PM'); expect(datetime.renderTextFormat('A', 'pm', null, {})).toEqual('PM'); }); @@ -776,25 +776,25 @@ describe('parseISODate', () => { var parsed = datetime.parseDate('12/15/1994'); expect(parsed).toEqual(null); - var parsed = datetime.parseDate('12-15-1994'); + parsed = datetime.parseDate('12-15-1994'); expect(parsed).toEqual(null); - var parsed = datetime.parseDate('1994-1994'); + parsed = datetime.parseDate('1994-1994'); expect(parsed).toEqual(null); - var parsed = datetime.parseDate('1994 12 15'); + parsed = datetime.parseDate('1994 12 15'); expect(parsed).toEqual(null); - var parsed = datetime.parseDate('12.15.1994'); + parsed = datetime.parseDate('12.15.1994'); expect(parsed).toEqual(null); - var parsed = datetime.parseDate('12\\15\\1994'); + parsed = datetime.parseDate('12\\15\\1994'); expect(parsed).toEqual(null); - var parsed = datetime.parseDate('200'); + parsed = datetime.parseDate('200'); expect(parsed).toEqual(null); - var parsed = datetime.parseDate('holla'); + parsed = datetime.parseDate('holla'); expect(parsed).toEqual(null); }); @@ -802,10 +802,10 @@ describe('parseISODate', () => { var parsed = datetime.parseDate(null); expect(parsed).toEqual(null); - var parsed = datetime.parseDate(undefined); + parsed = datetime.parseDate(undefined); expect(parsed).toEqual(null); - var parsed = datetime.parseDate(''); + parsed = datetime.parseDate(''); expect(parsed).toEqual(null); }); diff --git a/src/util/ui-event-manager.ts b/src/util/ui-event-manager.ts index 03116c7879..b50bdcac06 100644 --- a/src/util/ui-event-manager.ts +++ b/src/util/ui-event-manager.ts @@ -1,4 +1,4 @@ -import {ElementRef} from '@angular/core'; +import { ElementRef } from '@angular/core'; export interface PointerEventsConfig { element?: HTMLElement;