Skip to content

Commit 713e6d4

Browse files
committed
chore: adjust router to /*@ts2dart...*/
1 parent a8e277b commit 713e6d4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/angular2/src/alt_router/router_providers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ import {PlatformLocation} from 'angular2/platform/common';
66

77
export const ROUTER_PROVIDERS: any[] = /*@ts2dart_const*/[
88
ROUTER_PROVIDERS_COMMON,
9-
/*@ts2dart_Provider*/{provide: PlatformLocation, useClass: BrowserPlatformLocation},
9+
/*@ts2dart_Provider*/ {provide: PlatformLocation, useClass: BrowserPlatformLocation},
1010
];

modules/angular2/src/core/change_detection/differs/default_keyvalue_differ.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import {BaseException} from 'angular2/src/facade/exceptions';
44
import {ChangeDetectorRef} from '../change_detector_ref';
55
import {KeyValueDiffer, KeyValueDifferFactory} from '../differs/keyvalue_differs';
66

7+
/* @ts2dart_const */
78
export class DefaultKeyValueDifferFactory implements KeyValueDifferFactory {
8-
/* @ts2dart_const */
99
constructor() {}
1010
supports(obj: any): boolean { return obj instanceof Map || isJsObject(obj); }
1111

modules/angular2/src/core/linker/component_factory.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ export class ComponentRef_ extends ComponentRef {
7171

7272
const EMPTY_CONTEXT = /*@ts2dart_const*/new Object();
7373

74+
/*@ts2dart_const*/
7475
export class ComponentFactory {
75-
/* @ts2dart_const */
7676
constructor(public selector: string, private _viewFactory: Function,
7777
private _componentType: Type) {}
7878

0 commit comments

Comments
 (0)