@@ -15,8 +15,7 @@ import {
1515import {
1616 CompileDirectiveMetadata ,
1717 CompileTypeMetadata ,
18- CompileTemplateMetadata ,
19- CompileProviderMetadata
18+ CompileTemplateMetadata
2019} from 'angular2/src/compiler/directive_metadata' ;
2120import { ViewEncapsulation } from 'angular2/src/core/metadata/view' ;
2221import { ChangeDetectionStrategy } from 'angular2/src/core/change_detection' ;
@@ -29,8 +28,8 @@ export function main() {
2928 var fullDirectiveMeta : CompileDirectiveMetadata ;
3029
3130 beforeEach ( ( ) => {
32- fullTypeMeta = new CompileTypeMetadata (
33- { name : 'SomeType' , moduleUrl : 'someUrl' , isHost : true , diDeps : [ ] } ) ;
31+ fullTypeMeta =
32+ new CompileTypeMetadata ( { name : 'SomeType' , moduleUrl : 'someUrl' , isHost : true } ) ;
3433 fullTemplateMeta = new CompileTemplateMetadata ( {
3534 encapsulation : ViewEncapsulation . Emulated ,
3635 template : '<a></a>' ,
@@ -49,8 +48,7 @@ export function main() {
4948 inputs : [ 'someProp' ] ,
5049 outputs : [ 'someEvent' ] ,
5150 host : { '(event1)' : 'handler1' , '[prop1]' : 'expr1' , 'attr1' : 'attrValue2' } ,
52- lifecycleHooks : [ LifecycleHooks . OnChanges ] ,
53- providers : [ new CompileProviderMetadata ( { token : 'token' , useClass : fullTypeMeta } ) ]
51+ lifecycleHooks : [ LifecycleHooks . OnChanges ]
5452 } ) ;
5553
5654 } ) ;
0 commit comments