summaryrefslogtreecommitdiffstats
path: root/README.markdown
diff options
context:
space:
mode:
authorJames Fuller <jblotus@gmail.com>2011-05-18 19:26:15 -0700
committerJames Fuller <jblotus@gmail.com>2011-05-18 19:26:15 -0700
commit0e22301e8fadf219572bbc6679b3d99b2c67d136 (patch)
treec8e518920ed9116e550a298f1319668f9eec9a67 /README.markdown
parenta4ca50533d361eae4052a507adcff7b50ef32b66 (diff)
downloadhandlebars.js-0e22301e8fadf219572bbc6679b3d99b2c67d136.zip
handlebars.js-0e22301e8fadf219572bbc6679b3d99b2c67d136.tar.gz
handlebars.js-0e22301e8fadf219572bbc6679b3d99b2c67d136.tar.bz2
fixed a syntax error in documentation example
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index 35f8149..fa8c344 100644
--- a/README.markdown
+++ b/README.markdown
@@ -45,7 +45,7 @@ embedded in them, as well as the text for a link:
});
var context = { posts: [{url: "/hello-world", body: "Hello World!"}] };
- var source = "<ul>{{#posts}}<li>{{{link_to this}}}</li></ul>"
+ var source = "<ul>{{#posts}}<li>{{{link_to this}}}</li>{{/posts}}</ul>"
var template = Handlebars.compile(source);
template(context);