chore: replace @CONST() with /*@ts2dart_const*/
This commit is contained in:

committed by
Martin Probst

parent
a02614beaa
commit
3aa322a9c6
@ -17,7 +17,6 @@ import {
|
||||
ComponentFixtureNoNgZone
|
||||
} from 'angular2/testing_internal';
|
||||
|
||||
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||
import {Injectable, provide} from 'angular2/core';
|
||||
import {NgIf} from 'angular2/common';
|
||||
import {Directive, Component, ViewMetadata, Input} from 'angular2/src/core/metadata';
|
||||
@ -152,7 +151,7 @@ class ListDir1Alt {
|
||||
class ListDir2 {
|
||||
}
|
||||
|
||||
const LIST_CHILDREN = CONST_EXPR([ListDir1, ListDir2]);
|
||||
const LIST_CHILDREN = /*@ts2dart_const*/[ListDir1, ListDir2];
|
||||
|
||||
@Component(
|
||||
{selector: 'directive-list-comp', template: `(<li1></li1>)(<li2></li2>)`, directives: [LIST_CHILDREN]})
|
||||
|
Reference in New Issue
Block a user