cleanup(di): fix dart analyzer errors

Closes #3962
This commit is contained in:
vsavkin
2015-09-03 08:14:51 -07:00
committed by Victor Savkin
parent d43bd9b4ca
commit 3ff321475d
7 changed files with 9 additions and 10 deletions

View File

@ -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);

View File

@ -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