mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
style(all): tslinter warnings
This commit is contained in:
committed by
Adam Bradley
parent
324f2cb189
commit
ac8e4dce06
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {ionicBootstrap} from '../../../../../src';
|
||||
import { Component } from '@angular/core';
|
||||
import { ionicBootstrap } from '../../../../../src';
|
||||
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {ionicBootstrap} from '../../../../../src';
|
||||
import { Component } from '@angular/core';
|
||||
import { ionicBootstrap } from '../../../../../src';
|
||||
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {ionicBootstrap} from '../../../../../src';
|
||||
import { Component } from '@angular/core';
|
||||
import { ionicBootstrap } from '../../../../../src';
|
||||
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {ionicBootstrap} from '../../../../../src';
|
||||
import { Component } from '@angular/core';
|
||||
import { ionicBootstrap } from '../../../../../src';
|
||||
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {ionicBootstrap} from '../../../../../src';
|
||||
import { Component } from '@angular/core';
|
||||
import { ionicBootstrap } from '../../../../../src';
|
||||
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {TextInput} from '../../../../src';
|
||||
import { TextInput } from '../../../../src';
|
||||
|
||||
export function run() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user