build(node): split test and src compilation units

This commit is contained in:
Victor Berchet
2015-12-22 16:24:35 -08:00
committed by Jeff Cross
parent c785a1e474
commit a4b5cb8376
4 changed files with 186 additions and 46 deletions

View File

@ -4,7 +4,8 @@ import {ListWrapper, Map} from 'angular2/src/facade/collection';
const _WHEN_DEFAULT = CONST_EXPR(new Object());
class SwitchView {
/** @internal */
export class SwitchView {
constructor(private _viewContainerRef: ViewContainerRef, private _templateRef: TemplateRef) {}
create(): void { this._viewContainerRef.createEmbeddedView(this._templateRef); }