chore: adjust router to /*@ts2dart...*/
This commit is contained in:
parent
a8e277b067
commit
713e6d4aff
|
@ -6,5 +6,5 @@ import {PlatformLocation} from 'angular2/platform/common';
|
|||
|
||||
export const ROUTER_PROVIDERS: any[] = /*@ts2dart_const*/[
|
||||
ROUTER_PROVIDERS_COMMON,
|
||||
/*@ts2dart_Provider*/{provide: PlatformLocation, useClass: BrowserPlatformLocation},
|
||||
/*@ts2dart_Provider*/ {provide: PlatformLocation, useClass: BrowserPlatformLocation},
|
||||
];
|
||||
|
|
|
@ -4,8 +4,8 @@ import {BaseException} from 'angular2/src/facade/exceptions';
|
|||
import {ChangeDetectorRef} from '../change_detector_ref';
|
||||
import {KeyValueDiffer, KeyValueDifferFactory} from '../differs/keyvalue_differs';
|
||||
|
||||
/* @ts2dart_const */
|
||||
export class DefaultKeyValueDifferFactory implements KeyValueDifferFactory {
|
||||
/* @ts2dart_const */
|
||||
constructor() {}
|
||||
supports(obj: any): boolean { return obj instanceof Map || isJsObject(obj); }
|
||||
|
||||
|
|
|
@ -71,8 +71,8 @@ export class ComponentRef_ extends ComponentRef {
|
|||
|
||||
const EMPTY_CONTEXT = /*@ts2dart_const*/new Object();
|
||||
|
||||
/*@ts2dart_const*/
|
||||
export class ComponentFactory {
|
||||
/* @ts2dart_const */
|
||||
constructor(public selector: string, private _viewFactory: Function,
|
||||
private _componentType: Type) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue