chore: rename switch to ng-switch

This commit is contained in:
Misko Hevery
2015-05-11 16:07:23 -07:00
parent 78d3f62b6a
commit e9f236b70f
5 changed files with 56 additions and 56 deletions

View File

@ -13,7 +13,7 @@ import {DOM} from 'angular2/src/dom/dom_adapter';
import {window, document, gc} from 'angular2/src/facade/browser';
import {getIntParameter, getStringParameter, bindAction} from 'angular2/src/test_lib/benchmark_util';
import {For, Switch, SwitchWhen, SwitchDefault} from 'angular2/directives';
import {For, NgSwitch, NgSwitchWhen, NgSwitchDefault} from 'angular2/directives';
import {BrowserDomAdapter} from 'angular2/src/dom/browser_adapter';
import {ListWrapper} from 'angular2/src/facade/collection';
@ -239,9 +239,9 @@ class AppComponent {
}
})
@View({
directives: [For, Switch, SwitchWhen, SwitchDefault],
directives: [For, NgSwitch, NgSwitchWhen, NgSwitchDefault],
template: `
<table [switch]="benchmarkType">
<table [ng-switch]="benchmarkType">
<tbody template="switch-when 'interpolation'">
<tr template="for #row of data">
<td template="for #column of row">