parent
a90063a827
commit
530e742628
@ -755,13 +755,6 @@ export function resolveBindings(bindings: List<Type | Binding | List<any>>): Lis
|
|||||||
return resolvedList;
|
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(
|
function _createListOfBindings(
|
||||||
flattenedBindings: Map<number, ResolvedBinding>): List<ResolvedBinding> {
|
flattenedBindings: Map<number, ResolvedBinding>): List<ResolvedBinding> {
|
||||||
return MapWrapper.values(flattenedBindings);
|
return MapWrapper.values(flattenedBindings);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user