chore: replace CONST_EXPR with /*@ts2dart_const*/

This commit is contained in:
Misko Hevery
2016-04-25 21:47:33 -07:00
committed by Martin Probst
parent d2527b504a
commit a02614beaa
99 changed files with 427 additions and 488 deletions

View File

@ -20,7 +20,6 @@ export {ROUTER_PROVIDERS, ROUTER_BINDINGS} from 'angular2/src/router/router_prov
import {RouterOutlet} from './src/router/directives/router_outlet';
import {RouterLink} from './src/router/directives/router_link';
import {CONST_EXPR} from './src/facade/lang';
/**
* A list of directives. To use the router directives like {@link RouterOutlet} and
@ -44,4 +43,4 @@ import {CONST_EXPR} from './src/facade/lang';
* bootstrap(AppCmp, [ROUTER_PROVIDERS]);
* ```
*/
export const ROUTER_DIRECTIVES: any[] = CONST_EXPR([RouterOutlet, RouterLink]);
export const ROUTER_DIRECTIVES: any[] = /*@ts2dart_const*/[RouterOutlet, RouterLink];