refactor(MapWrapper): drop delete(), get(), forEach() and size

Closes #4618
This commit is contained in:
Victor Berchet
2015-10-08 16:01:18 -07:00
parent aab0c57aee
commit a8c34ae290
22 changed files with 51 additions and 73 deletions

View File

@ -328,9 +328,8 @@ export class Router {
}
var promises = [];
MapWrapper.forEach(this._auxRouters, (router, name) => {
promises.push(router.commit(instruction.auxInstruction[name]));
});
this._auxRouters.forEach(
(router, name) => { promises.push(router.commit(instruction.auxInstruction[name])); });
return next.then((_) => PromiseWrapper.all(promises));
}