diff --git a/modules/angular2/src/alt_router/router_providers.ts b/modules/angular2/src/alt_router/router_providers.ts index c8e8e45dc0..1f69ecb315 100644 --- a/modules/angular2/src/alt_router/router_providers.ts +++ b/modules/angular2/src/alt_router/router_providers.ts @@ -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}, ]; diff --git a/modules/angular2/src/core/change_detection/differs/default_keyvalue_differ.ts b/modules/angular2/src/core/change_detection/differs/default_keyvalue_differ.ts index 255c4ed987..ded64207c5 100644 --- a/modules/angular2/src/core/change_detection/differs/default_keyvalue_differ.ts +++ b/modules/angular2/src/core/change_detection/differs/default_keyvalue_differ.ts @@ -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); } diff --git a/modules/angular2/src/core/linker/component_factory.ts b/modules/angular2/src/core/linker/component_factory.ts index 20ebe91a01..9f0be26d06 100644 --- a/modules/angular2/src/core/linker/component_factory.ts +++ b/modules/angular2/src/core/linker/component_factory.ts @@ -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) {}