@@ -24,7 +24,7 @@ In general, the syntax of Handlebars.js templates is a superset
2424of Mustache templates. For basic syntax, check out the [ Mustache
2525manpage] ( http://mustache.github.com/mustache.5.html ) .
2626
27- Once you have a template, use the Handlebars.compile method to compile
27+ Once you have a template, use the ` Handlebars.compile ` method to compile
2828the template into a function. The generated function takes a context
2929argument, which will be used to render the template.
3030
@@ -93,17 +93,17 @@ templates easier and also changes a tiny detail of how partials work.
9393Handlebars.js supports an extended expression syntax that we call paths.
9494Paths are made up of typical expressions and . characters. Expressions
9595allow you to not only display data from the current context, but to
96- display data from contexts that are descendents and ancestors of the
96+ display data from contexts that are descendants and ancestors of the
9797current context.
9898
99- To display data from descendent contexts, use the ` . ` character. So, for
99+ To display data from descendant contexts, use the ` . ` character. So, for
100100example, if your data were structured like:
101101
102102``` js
103103var data = {" person" : { " name" : " Alan" }, company: {" name" : " Rad, Inc." } };
104104```
105105
106- you could display the person's name from the top-level context with the
106+ You could display the person's name from the top-level context with the
107107following expression:
108108
109109```
0 commit comments