chore(typings): remove traceur-runtime.d.ts

fixes #4297

Closes #4415
This commit is contained in:
Alex Eagle
2015-09-29 11:11:06 -07:00
committed by Alex Eagle
parent fb9796130d
commit 9b7378d132
59 changed files with 142 additions and 256 deletions

View File

@ -31,9 +31,9 @@ import {ComponentInstruction} from './instruction';
* components.
*/
export class RouteRecognizer {
names: Map<string, PathRecognizer> = new Map();
names = new Map<string, PathRecognizer>();
auxRoutes: Map<string, PathRecognizer> = new Map();
auxRoutes = new Map<string, PathRecognizer>();
// TODO: optimize this into a trie
matchers: PathRecognizer[] = [];

View File

@ -43,7 +43,7 @@ var _resolveToNull = PromiseWrapper.resolve(null);
*/
@Injectable()
export class RouteRegistry {
private _rules: Map<any, RouteRecognizer> = new Map();
private _rules = new Map<any, RouteRecognizer>();
/**
* Given a component and a configuration object, add the route to this registry

View File

@ -50,7 +50,7 @@ export class Router {
private _currentNavigation: Promise<any> = _resolveToTrue;
private _outlet: RouterOutlet = null;
private _auxRouters: Map<string, Router> = new Map();
private _auxRouters = new Map<string, Router>();
private _childRouter: Router;
private _subject: EventEmitter = new EventEmitter();