@ -460,8 +460,6 @@ function _normalizeBindings(bindings: Array<Type | Binding | any[]>,
|
||||
res: Map<number, _NormalizedBinding | _NormalizedBinding[]>):
|
||||
Map<number, _NormalizedBinding | _NormalizedBinding[]> {
|
||||
ListWrapper.forEach(bindings, (b) => {
|
||||
var key, factory, normalized;
|
||||
|
||||
if (b instanceof Type) {
|
||||
_normalizeBinding(bind(b).toClass(b), res);
|
||||
|
||||
|
@ -19,9 +19,7 @@ import {
|
||||
} from './exceptions';
|
||||
import {FunctionWrapper, Type, isPresent, isBlank, CONST_EXPR} from 'angular2/src/core/facade/lang';
|
||||
import {Key} from './key';
|
||||
import {resolveForwardRef} from './forward_ref';
|
||||
import {SelfMetadata, HostMetadata, SkipSelfMetadata} from './metadata';
|
||||
import {reflector} from 'angular2/src/core/reflection/reflection';
|
||||
|
||||
|
||||
// Threshold for the dynamic version
|
||||
|
Reference in New Issue
Block a user