style(di): fix a variable name typo

This commit is contained in:
Igor Minar 2015-09-01 20:13:38 -07:00
parent 696edde17c
commit 53d0861372
1 changed files with 3 additions and 3 deletions

View File

@ -546,8 +546,8 @@ export class Injector {
*/
resolveAndCreateChild(bindings: Array<Type | Binding | any[]>,
depProvider: DependencyProvider = null): Injector {
var resovledBindings = Injector.resolve(bindings);
return this.createChildFromResolved(resovledBindings, depProvider);
var resolvedBindings = Injector.resolve(bindings);
return this.createChildFromResolved(resolvedBindings, depProvider);
}
/**
@ -578,7 +578,7 @@ export class Injector {
}
/**
* Instantiates an object using a resolved bindin in the context of the injector.
* Instantiates an object using a resolved binding in the context of the injector.
*
* @param `binding`: a resolved binding
* @returns an object created using binding.