chore(rename): rename View and Template concepts for #1244

This commit is contained in:
Pawel Kozlowski
2015-04-09 21:20:11 +02:00
committed by Jeremy Elbourn
parent 564477b8a0
commit bf7933714a
103 changed files with 767 additions and 765 deletions

View File

@ -5,7 +5,7 @@ import {NgElement} from 'angular2/src/core/compiler/ng_element';
@Decorator({
selector: '[class]',
bind: {
properties: {
'iterableChanges': 'class | keyValDiff'
}
})

View File

@ -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;

View File

@ -26,7 +26,7 @@ import {isBlank} from 'angular2/src/facade/lang';
*/
@Viewport({
selector: '[if]',
bind: {
properties: {
'condition': 'if'
}
})

View File

@ -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'
}
})