fix(binding): unbalanced curly brackets in documentation

This commit is contained in:
elimach 2015-05-28 17:53:13 +02:00 committed by Victor Berchet
parent 0db88f34b8
commit a80921b45d
1 changed files with 2 additions and 2 deletions

View File

@ -397,8 +397,8 @@ export class BindingBuilder {
* *
* ```javascript * ```javascript
* var injector = Injector.resolveAndCreate([ * var injector = Injector.resolveAndCreate([
* bind(Number).toFactory(() => { return 1+2; }}), * bind(Number).toFactory(() => { return 1+2; }),
* bind(String).toFactory((v) => { return "Value: " + v; }, [Number] }) * bind(String).toFactory((v) => { return "Value: " + v; }, [Number])
* ]); * ]);
* *
* expect(injector.get(Number)).toEqual(3); * expect(injector.get(Number)).toEqual(3);