chore: adjust router to /*@ts2dart...*/

This commit is contained in:
Martin Probst 2016-04-28 23:12:52 -07:00
parent a8e277b067
commit 713e6d4aff
3 changed files with 3 additions and 3 deletions

View File

@ -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},
];

View File

@ -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); }

View File

@ -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) {}