chore: adjust router to /*@ts2dart...*/
This commit is contained in:
parent
a8e277b067
commit
713e6d4aff
@ -4,8 +4,8 @@ import {BaseException} from 'angular2/src/facade/exceptions';
|
|||||||
import {ChangeDetectorRef} from '../change_detector_ref';
|
import {ChangeDetectorRef} from '../change_detector_ref';
|
||||||
import {KeyValueDiffer, KeyValueDifferFactory} from '../differs/keyvalue_differs';
|
import {KeyValueDiffer, KeyValueDifferFactory} from '../differs/keyvalue_differs';
|
||||||
|
|
||||||
export class DefaultKeyValueDifferFactory implements KeyValueDifferFactory {
|
|
||||||
/* @ts2dart_const */
|
/* @ts2dart_const */
|
||||||
|
export class DefaultKeyValueDifferFactory implements KeyValueDifferFactory {
|
||||||
constructor() {}
|
constructor() {}
|
||||||
supports(obj: any): boolean { return obj instanceof Map || isJsObject(obj); }
|
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();
|
const EMPTY_CONTEXT = /*@ts2dart_const*/new Object();
|
||||||
|
|
||||||
export class ComponentFactory {
|
|
||||||
/*@ts2dart_const*/
|
/*@ts2dart_const*/
|
||||||
|
export class ComponentFactory {
|
||||||
constructor(public selector: string, private _viewFactory: Function,
|
constructor(public selector: string, private _viewFactory: Function,
|
||||||
private _componentType: Type) {}
|
private _componentType: Type) {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user