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

committed by
Martin Probst

parent
a02614beaa
commit
3aa322a9c6
@ -34,7 +34,6 @@ import {
|
||||
import {ReflectionCapabilities} from 'angular2/src/core/reflection/reflection_capabilities';
|
||||
import {XHRImpl} from "angular2/src/platform/browser/xhr_impl";
|
||||
import {XHR} from 'angular2/compiler';
|
||||
import {Provider} from 'angular2/src/core/di';
|
||||
|
||||
/**
|
||||
* An array of providers that should be passed into `application()` when bootstrapping a component.
|
||||
@ -42,8 +41,8 @@ import {Provider} from 'angular2/src/core/di';
|
||||
export const BROWSER_APP_PROVIDERS: Array<any /*Type | Provider | any[]*/> = /*@ts2dart_const*/ [
|
||||
BROWSER_APP_COMMON_PROVIDERS,
|
||||
COMPILER_PROVIDERS,
|
||||
new Provider(XHR, {useClass: XHRImpl},
|
||||
]);
|
||||
/*@ts2dart_Provider*/{provide: XHR, useClass: XHRImpl},
|
||||
];
|
||||
|
||||
export function browserPlatform(): PlatformRef {
|
||||
if (isBlank(getPlatform())) {
|
||||
|
Reference in New Issue
Block a user