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

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

View File

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