Skip to content

Commit

Permalink
fix(binding): unbalanced curly brackets in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
elimach authored and vicb committed May 29, 2015
1 parent 0db88f3 commit a80921b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/angular2/src/di/binding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a80921b

Please sign in to comment.