Skip to content

Commit a80921b

Browse files
elimachvicb
elimach
authored andcommitted
fix(binding): unbalanced curly brackets in documentation
1 parent 0db88f3 commit a80921b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/angular2/src/di/binding.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@ export class BindingBuilder {
397397
*
398398
* ```javascript
399399
* var injector = Injector.resolveAndCreate([
400-
* bind(Number).toFactory(() => { return 1+2; }}),
401-
* bind(String).toFactory((v) => { return "Value: " + v; }, [Number] })
400+
* bind(Number).toFactory(() => { return 1+2; }),
401+
* bind(String).toFactory((v) => { return "Value: " + v; }, [Number])
402402
* ]);
403403
*
404404
* expect(injector.get(Number)).toEqual(3);

0 commit comments

Comments
 (0)