Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed Nov 17, 2012
1 parent b9bec57 commit 7658aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Guides/runtime.md
Expand Up @@ -191,7 +191,7 @@ NSString *rendering = [GRMustacheTemplate renderObject:data

Sections render as many times as they contain items.

However, you may want to render a section *once* if and only if a collection is not empty. For example, when rendering a single `<ul>` HTML elements that wraps several `<li>`.
However, you may want to render a section *once* if and only if a collection is not empty. For example, when rendering a single `<ul>` HTML element that wraps several `<li>`.

A template that is compatible with [other Mustache implementations](https://github.com/defunkt/mustache/wiki/Other-Mustache-implementations) needs an extra boolean key that states whether the collection is empty or not:

Expand Down

0 comments on commit 7658aa7

Please sign in to comment.