refactor: remove ts2dart annotations

This commit is contained in:
Victor Berchet
2016-07-30 19:18:14 -07:00
parent 13c8211065
commit 28c4852cd6
89 changed files with 344 additions and 489 deletions

View File

@ -81,7 +81,6 @@ export class ComponentRef_<C> extends ComponentRef<C> {
/**
* @experimental
* @ts2dart_const
*/
const EMPTY_CONTEXT = new Object();

View File

@ -15,7 +15,6 @@ import {DebugAppView} from './view';
import {ViewType} from './view_type';
/* @ts2dart_const */
export class StaticNodeDebugInfo {
constructor(
public providerTokens: any[], public componentToken: any,

View File

@ -9,7 +9,7 @@
import {Injector, THROW_IF_NOT_FOUND} from '../di/injector';
import {AppView} from './view';
const _UNDEFINED = /*@ts2dart_const*/ new Object();
const _UNDEFINED = new Object();
export class ElementInjector extends Injector {
constructor(private _view: AppView<any>, private _nodeIndex: number) { super(); }

View File

@ -12,7 +12,7 @@ import {ElementRef} from './element_ref';
import {AppView} from './view';
import {EmbeddedViewRef} from './view_ref';
const EMPTY_CONTEXT = /*@ts2dart_const*/ new Object();
const EMPTY_CONTEXT = new Object();
/**
* Represents an Embedded Template that can be used to instantiate Embedded Views.

View File

@ -70,7 +70,7 @@ function _flattenNestedViewRenderNodes(nodes: any[], renderNodes: any[]): any[]
return renderNodes;
}
const EMPTY_ARR: any[] = /*@ts2dart_const*/[];
const EMPTY_ARR: any[] = [];
export function ensureSlotCount(projectableNodes: any[][], expectedSlotCount: number): any[][] {
var res: any[][];