refactor(injector): implement support for nested bindings

This commit is contained in:
vsavkin
2014-10-09 12:18:35 -04:00
parent 0b60f8494d
commit 3f3fb7017e
3 changed files with 15 additions and 4 deletions

View File

@ -3,7 +3,7 @@ export var Map = window.Map;
export var Set = window.Set;
export class MapWrapper {
static create():HashMap { return new HashMap(); }
static create():Map { return new Map(); }
static get(m, k) { return m[k]; }
static set(m, k, v) { m[k] = v; }
static contains(m, k) { return m[k] != undefined; }