fix(binding): unbalanced curly brackets in documentation
This commit is contained in:
parent
0db88f34b8
commit
a80921b45d
|
@ -397,8 +397,8 @@ export class BindingBuilder {
|
|||
*
|
||||
* ```javascript
|
||||
* var injector = Injector.resolveAndCreate([
|
||||
* bind(Number).toFactory(() => { return 1+2; }}),
|
||||
* bind(String).toFactory((v) => { return "Value: " + v; }, [Number] })
|
||||
* bind(Number).toFactory(() => { return 1+2; }),
|
||||
* bind(String).toFactory((v) => { return "Value: " + v; }, [Number])
|
||||
* ]);
|
||||
*
|
||||
* expect(injector.get(Number)).toEqual(3);
|
||||
|
|
Loading…
Reference in New Issue