refactor(injector): remove unused function

Closes #2815
This commit is contained in:
Pawel Kozlowski 2015-07-01 13:37:30 +02:00
parent a90063a827
commit 530e742628
1 changed files with 0 additions and 7 deletions

View File

@ -755,13 +755,6 @@ export function resolveBindings(bindings: List<Type | Binding | List<any>>): Lis
return resolvedList;
}
function flattenBindings(bindings: List<ResolvedBinding>): List<ResolvedBinding> {
var map = _flattenBindings(bindings, new Map());
var res = [];
MapWrapper.forEach(map, (binding, keyId) => res.push(binding));
return res;
}
function _createListOfBindings(
flattenedBindings: Map<number, ResolvedBinding>): List<ResolvedBinding> {
return MapWrapper.values(flattenedBindings);