refactor(ListWrapper): get ride of ListWrapper.map
This commit is contained in:
@ -121,7 +121,7 @@ export class RouteRegistry {
|
||||
var possibleMatches = componentRecognizer.recognize(parsedUrl);
|
||||
|
||||
var matchPromises =
|
||||
ListWrapper.map(possibleMatches, (candidate) => this._completePrimaryRouteMatch(candidate));
|
||||
possibleMatches.map(candidate => this._completePrimaryRouteMatch(candidate));
|
||||
|
||||
return PromiseWrapper.all(matchPromises).then(mostSpecific);
|
||||
}
|
||||
|
Reference in New Issue
Block a user