Skip to content

Commit 3aef7f6

Browse files
committed
Misc readme updates
1 parent 4cf0410 commit 3aef7f6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In general, the syntax of Handlebars.js templates is a superset
2424
of Mustache templates. For basic syntax, check out the [Mustache
2525
manpage](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
2828
the template into a function. The generated function takes a context
2929
argument, 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.
9393
Handlebars.js supports an extended expression syntax that we call paths.
9494
Paths are made up of typical expressions and . characters. Expressions
9595
allow 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
9797
current 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
100100
example, if your data were structured like:
101101

102102
```js
103103
var 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
107107
following expression:
108108

109109
```

0 commit comments

Comments
 (0)