feat(di): rename Binding into Provider

Closes #4416

Closes #4654
This commit is contained in:
vsavkin
2015-10-10 22:11:13 -07:00
committed by Victor Savkin
parent 7c6130c2c5
commit 1eb0162cde
190 changed files with 2071 additions and 1816 deletions

View File

@ -108,7 +108,7 @@ while (inj) {
inj = inj.parent;
}
}
throw new NoBindingError(requestedKey);
throw new NoProviderError(requestedKey);
```
So in the following example
@ -160,7 +160,7 @@ var child = parent.resolveAndCreateChild([
bind(Engine).toClass(TurboEngine)
]);
parent.get(Car); // will throw NoBindingError
parent.get(Car); // will throw NoProviderError
```