Permalink
Browse files

Fixed code formatting in fallbackProviders.md

  • Loading branch information...
Stray authored and tschneidereit committed Jul 17, 2012
1 parent 0c6bf1b commit d41d4837148f1af44fc6b7d69ad2320bbd2b276d
Showing with 6 additions and 6 deletions.
  1. +6 −6 fallbackProviders.md
View
@@ -62,12 +62,12 @@ If there is a fallbackProvider it will be checked.
## `getOrCreateNewInstance` = `getInstance` or `instantiateUnmapped`
-- 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
-
+Provides a single point of entry to obtain a mapped instance if one exists, or a new instance if one doesn't.
- `var instance:SomeType = injector.satisfies(SomeType)
- ? injector.getInstance(SomeType)
- : injector.instantiateUnmapped(SomeType);`
+Essentially a sugar method for:
+
+ var instance:SomeType = injector.satisfies(SomeType)
+ ? injector.getInstance(SomeType)
+ : injector.instantiateUnmapped(SomeType);

0 comments on commit d41d483

Please sign in to comment.