docs(di): fix incorrectly fomatted code blocks

This commit is contained in:
Brian Ford 2015-09-24 11:43:18 -07:00
parent 4efc4a5520
commit 4e5c663b02
2 changed files with 1 additions and 1 deletions

View File

@ -734,6 +734,7 @@ export class Injector {
* var car = injector.instantiateResolved(carBinding); * var car = injector.instantiateResolved(carBinding);
* expect(car.engine).toBe(injector.get(Engine)); * expect(car.engine).toBe(injector.get(Engine));
* expect(car).not.toBe(injector.instantiateResolved(carBinding)); * expect(car).not.toBe(injector.instantiateResolved(carBinding));
* ```
*/ */
instantiateResolved(binding: ResolvedBinding): any { instantiateResolved(binding: ResolvedBinding): any {
return this._instantiateBinding(binding, Visibility.PublicAndPrivate); return this._instantiateBinding(binding, Visibility.PublicAndPrivate);

View File

@ -20,7 +20,6 @@ import {CONST} from 'angular2/src/core/facade/lang';
* *
* Using an `OpaqueToken` is preferable to using an `Object` as tokens because it provides better * Using an `OpaqueToken` is preferable to using an `Object` as tokens because it provides better
* error messages. * error messages.
* ```
*/ */
@CONST() @CONST()
export class OpaqueToken { export class OpaqueToken {