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

committed by
Jeremy Elbourn

parent
564477b8a0
commit
bf7933714a
2
modules/angular2/src/directives/class.js
vendored
2
modules/angular2/src/directives/class.js
vendored
@ -5,7 +5,7 @@ import {NgElement} from 'angular2/src/core/compiler/ng_element';
|
||||
|
||||
@Decorator({
|
||||
selector: '[class]',
|
||||
bind: {
|
||||
properties: {
|
||||
'iterableChanges': 'class | keyValDiff'
|
||||
}
|
||||
})
|
||||
|
6
modules/angular2/src/directives/for.js
vendored
6
modules/angular2/src/directives/for.js
vendored
@ -1,6 +1,6 @@
|
||||
import {Viewport} from 'angular2/src/core/annotations/annotations';
|
||||
import {ViewContainer} from 'angular2/src/core/compiler/view_container';
|
||||
import {View} from 'angular2/src/core/compiler/view';
|
||||
import {AppView} from 'angular2/src/core/compiler/view';
|
||||
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||
|
||||
@ -38,7 +38,7 @@ import {ListWrapper} from 'angular2/src/facade/collection';
|
||||
*/
|
||||
@Viewport({
|
||||
selector: '[for][of]',
|
||||
bind: {
|
||||
properties: {
|
||||
'iterableChanges': 'of | iterableDiff'
|
||||
}
|
||||
})
|
||||
@ -114,7 +114,7 @@ export class For {
|
||||
}
|
||||
|
||||
class RecordViewTuple {
|
||||
view: View;
|
||||
view: AppView;
|
||||
record: any;
|
||||
constructor(record, view) {
|
||||
this.record = record;
|
||||
|
2
modules/angular2/src/directives/if.js
vendored
2
modules/angular2/src/directives/if.js
vendored
@ -26,7 +26,7 @@ import {isBlank} from 'angular2/src/facade/lang';
|
||||
*/
|
||||
@Viewport({
|
||||
selector: '[if]',
|
||||
bind: {
|
||||
properties: {
|
||||
'condition': 'if'
|
||||
}
|
||||
})
|
||||
|
4
modules/angular2/src/directives/switch.js
vendored
4
modules/angular2/src/directives/switch.js
vendored
@ -33,7 +33,7 @@ import {Parent} from 'angular2/src/core/annotations/visibility';
|
||||
*/
|
||||
@Decorator({
|
||||
selector: '[switch]',
|
||||
bind: {
|
||||
properties: {
|
||||
'value': 'switch'
|
||||
}
|
||||
})
|
||||
@ -146,7 +146,7 @@ export class Switch {
|
||||
*/
|
||||
@Viewport({
|
||||
selector: '[switch-when]',
|
||||
bind: {
|
||||
properties: {
|
||||
'when' : 'switch-when'
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user