fixed a syntax error in documentation example

This commit is contained in:
James Fuller
2011-05-18 19:26:15 -07:00
parent a4ca50533d
commit 0e22301e8f
+1 -1
View File
@@ -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);