style(all): tslinter warnings

This commit is contained in:
Manu Mtz.-Almeida
2016-07-19 22:31:46 +02:00
committed by Adam Bradley
parent 324f2cb189
commit ac8e4dce06
166 changed files with 867 additions and 867 deletions

View File

@@ -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';
/**

View File

@@ -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;

View File

@@ -1,5 +1,5 @@
import {Component} from '@angular/core';
import {ionicBootstrap} from '../../../../../src';
import { Component } from '@angular/core';
import { ionicBootstrap } from '../../../../../src';
@Component({

View File

@@ -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);

View File

@@ -1,5 +1,5 @@
import {Component} from '@angular/core';
import {ionicBootstrap} from '../../../../../src';
import { Component } from '@angular/core';
import { ionicBootstrap } from '../../../../../src';
@Component({

View File

@@ -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({

View File

@@ -1,5 +1,5 @@
import {Component} from '@angular/core';
import {ionicBootstrap} from '../../../../../src';
import { Component } from '@angular/core';
import { ionicBootstrap } from '../../../../../src';
@Component({

View File

@@ -1,5 +1,5 @@
import {Component} from '@angular/core';
import {ionicBootstrap} from '../../../../../src';
import { Component } from '@angular/core';
import { ionicBootstrap } from '../../../../../src';
@Component({

View File

@@ -1,5 +1,5 @@
import {Component} from '@angular/core';
import {ionicBootstrap} from '../../../../../src';
import { Component } from '@angular/core';
import { ionicBootstrap } from '../../../../../src';
@Component({

View File

@@ -1,5 +1,5 @@
import {Component} from '@angular/core';
import {ionicBootstrap} from '../../../../../src';
import { Component } from '@angular/core';
import { ionicBootstrap } from '../../../../../src';
@Component({

View File

@@ -1,5 +1,5 @@
import {Component} from '@angular/core';
import {ionicBootstrap} from '../../../../../src';
import { Component } from '@angular/core';
import { ionicBootstrap } from '../../../../../src';
@Component({

View File

@@ -1,5 +1,5 @@
import {Component} from '@angular/core';
import {ionicBootstrap} from '../../../../../src';
import { Component } from '@angular/core';
import { ionicBootstrap } from '../../../../../src';
@Component({

View File

@@ -1,5 +1,5 @@
import {Component} from '@angular/core';
import {ionicBootstrap} from '../../../../../src';
import { Component } from '@angular/core';
import { ionicBootstrap } from '../../../../../src';
@Component({