chore(): add ng prefix to lifecycle interfaces

This commit is contained in:
Adam Bradley
2015-12-08 21:38:26 -06:00
parent 474831e66b
commit 30b88d746b
25 changed files with 48 additions and 47 deletions

View File

@@ -119,7 +119,7 @@ export class TextInput {
/**
* @private
*/
onInit() {
ngOnInit() {
if (this.input && this.label) {
// if there is an input and an label
// then give the label an ID
@@ -430,7 +430,7 @@ export class TextInput {
/**
* @private
*/
onDestroy() {
ngOnDestroy() {
this.deregMove();
this.form.deregister(this);
}
@@ -471,7 +471,7 @@ export class TextInputElement {
}
}
onInit() {
ngOnInit() {
this.wrapper && this.wrapper.hasValue(this.value);
}