Skip to content
Browse files

Fixed formatting in fallbackProviders.md

  • Loading branch information...
1 parent 66d1ec2 commit 0c6bf1b3d341a227d234e532ef0beb7d788dfb1a @Stray Stray committed with Jul 17, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 fallbackProviders.md
View
6 fallbackProviders.md
@@ -64,8 +64,10 @@ If there is a fallbackProvider it will be checked.
- Provides a single point of entry to obtain a mapped instance if one exists, or a new instance if one doesn't.
- Essentially a sugar method for
- var instance:SomeType = injector.satisfies(SomeType)
+
+
+ `var instance:SomeType = injector.satisfies(SomeType)
? injector.getInstance(SomeType)
- : injector.instantiateUnmapped(SomeType);
+ : injector.instantiateUnmapped(SomeType);`

0 comments on commit 0c6bf1b

Please sign in to comment.
Something went wrong with that request. Please try again.