cleanup(di): renamed viewInjector and hostInjector
BREAKING CHANGE Replace viewInjector with viewBindings Replace hostInjector with bindings
This commit is contained in:
@ -12,7 +12,7 @@ import {isPresent} from 'angular2/src/facade/lang';
|
||||
|
||||
@Component({
|
||||
selector: 'demo-app',
|
||||
viewInjector: [MdDialog],
|
||||
viewBindings: [MdDialog],
|
||||
})
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
|
@ -5,7 +5,7 @@ import {UrlResolver} from 'angular2/src/services/url_resolver';
|
||||
import {commonDemoSetup, DemoUrlResolver} from '../demo_common';
|
||||
import {bind} from 'angular2/di';
|
||||
|
||||
@Component({selector: 'demo-app', viewInjector: [MdRadioDispatcher]})
|
||||
@Component({selector: 'demo-app', viewBindings: [MdRadioDispatcher]})
|
||||
@View({templateUrl: './demo_app.html', directives: [MdRadioGroup, MdRadioButton]})
|
||||
class DemoApp {
|
||||
thirdValue;
|
||||
|
Reference in New Issue
Block a user