From f7044f442ec4658ddd8338cc1682b6f99324d1e4 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Tue, 27 Oct 2009 10:43:03 -0700 Subject: [PATCH] hole => whole --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 96e5379..803f1b5 100644 --- a/README.md +++ b/README.md @@ -50,13 +50,13 @@ Conditional sections begin with `{{#condition}}` and end with `{{/condition}}`. {{/condition}} ### Enumerable Sections -Enumerable Sections use the same syntax as condition sections do. `{{#shopping_items}}` and `{{/shopping_items}}`. Actually the view decides how mustache.js renders the section. If the view returns an array, it will iterator over the items. Use `{{.}}` to access the current item inside the enumeration section. +Enumerable Sections use the same syntax as condition sections do. `{{#shopping_items}}` and `{{/shopping_items}}`. Actually the view decides how mustache.js renders the section. If the view returns an array, it will iterator over the items. Use `{{.}}` to access the current item inside the enumeration section. var view = {name: "Joe's shopping card", items: ["bananas", "apples"]} - + var template = "{{name}}: " - + Outputs: Joe's shopping card: