Permalink
Browse files

fix typo

  • Loading branch information...
1 parent 65aa881 commit b8200a27e997f5370c9559db0012fc3b07321e6a @vybs vybs committed Mar 21, 2012
Showing with 24 additions and 24 deletions.
  1. +24 −24 README.md
View
@@ -128,46 +128,46 @@ Well, in dust there is more than one way neat way to do this.
*Use Inline Partials*
- Inline partials never output content themselves, and are always global to the template in which they are defined, so the order of their definition has no significance.
+Inline partials never output content themselves, and are always global to the template in which they are defined, so the order of their definition has no significance.
- Key points to note : They are global to the template., there is no ordering and can be defined anywhere
+Key points to note : They are global to the template., there is no ordering and can be defined anywhere
- *Step 1* create global alias
+*Step 1* create global alias
- {<greeting}Hello, Hola{/greeting}
+ {<greeting}Hello, Hola{/greeting}
- *Step 2*
+*Step 2*
- {#names}
- {.} {+greeting/}
- {/names}
+ {#names}
+ {.} {+greeting/}
+ {/names}
- {#projects}
- {.} {+greeting/}
- {/projects}
+ {#projects}
+ {.} {+greeting/}
+ {/projects}
Block Aliases in dust
----------------------
Inline parameters appear within the section's opening tag. Parameters are separated by a single space.
- {#profile bar="baz" bing="bong"}
- {name}, {bar}, {bing}
- {/profile}
+ {#profile bar="baz" bing="bong"}
+ {name}, {bar}, {bing}
+ {/profile}
- *There are 3 flavors*
+*There are 3 flavors*
- {#test greeting="hello"} // constant b
- {greeting}
- {/test}
+ {#test greeting="hello"} // constant hello
+ {greeting}
+ {/test}
- {#test greeting=hello} // looks for a json context hello in the JSON hierarchy
- {greeting}
- {/test}
+ {#test greeting=hello} // looks for a json context hello in the JSON hierarchy
+ {greeting}
+ {/test}
- {#test greeting="{hello}"} // resolves hello when greeting is referenced in the block and it resolves to the first one in the hierarchy
- {greeting}
- {/test}
+ {#test greeting="{hello}"} // resolves hello when greeting is referenced in the block and it resolves to the first one in the hierarchy
+ {greeting}
+ {/test}

0 comments on commit b8200a2

Please sign in to comment.