refactor(LifecycleEvent): change from onInit to Lifecycle.onInit
BREAKING CHANGE Closes #2928
This commit is contained in:

committed by
Tobias Bosch

parent
e1e7912ab2
commit
b73ba68215
@ -1,11 +1,11 @@
|
||||
import {Component, onChange, View, Attribute} from 'angular2/angular2';
|
||||
import {Component, LifecycleEvent, View, Attribute} from 'angular2/angular2';
|
||||
|
||||
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||
import {Math} from 'angular2/src/facade/math';
|
||||
|
||||
@Component({
|
||||
selector: 'md-progress-linear',
|
||||
lifecycle: [onChange],
|
||||
lifecycle: [LifecycleEvent.onChange],
|
||||
properties: ['value', 'bufferValue'],
|
||||
host: {
|
||||
'[attr.role]': '"progressbar"',
|
||||
|
Reference in New Issue
Block a user