chore(rename): rename View and Template concepts for #1244
This commit is contained in:

committed by
Jeremy Elbourn

parent
564477b8a0
commit
bf7933714a
@ -16,7 +16,7 @@ import {DOM} from 'angular2/src/dom/dom_adapter';
|
||||
|
||||
import {Inject} from 'angular2/di';
|
||||
|
||||
import {Component, Decorator, Template, PropertySetter} from 'angular2/angular2';
|
||||
import {Component, Decorator, View, PropertySetter} from 'angular2/angular2';
|
||||
|
||||
import {TestBed} from 'angular2/src/test_lib/test_bed';
|
||||
|
||||
@ -367,7 +367,7 @@ export function main() {
|
||||
}
|
||||
|
||||
@Component({selector: "my-comp"})
|
||||
@Template({directives: [
|
||||
@View({directives: [
|
||||
ControlGroupDirective,
|
||||
ControlDirective,
|
||||
WrappedValue,
|
||||
@ -386,7 +386,7 @@ class MyComp {
|
||||
|
||||
@Decorator({
|
||||
selector:'[wrapped-value]',
|
||||
events: {
|
||||
hostListeners: {
|
||||
'change' : 'handleOnChange($event.target.value)'
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user