refactor(ListWrapper): get ride of ListWrapper.map

This commit is contained in:
Victor Berchet
2015-10-06 18:00:42 -07:00
parent b6537ad609
commit aaa215514b
24 changed files with 79 additions and 104 deletions
@@ -169,7 +169,7 @@ export class FunctionWithParamTokens {
* Returns the value of the executed function.
*/
execute(injector: Injector): any {
var params = ListWrapper.map(this._tokens, (t) => injector.get(t));
var params = this._tokens.map(t => injector.get(t));
return FunctionWrapper.apply(this._fn, params);
}