From 8e454094550872b70c0a3b32da37e4136a05c373 Mon Sep 17 00:00:00 2001 From: "raymond.lam" Date: Thu, 16 Aug 2018 22:58:29 -0400 Subject: [PATCH] Update README.md to reflect correct caching behavior --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index fa33ee5..b7baa5c 100644 --- a/README.md +++ b/README.md @@ -504,17 +504,12 @@ Custom delimiters can be used in place of `{{` and `}}` by setting the new value #### Setting in JavaScript -The `Mustache.tags` property holds an array consisting of the opening and closing tag values. Set custom values by passing a new array of tags to `parse()`, which gets honored over the default values, or by overriding the `tags` property itself: +The `Mustache.tags` property holds an array consisting of the opening and closing tag values. Set custom values by setting this property. ```js var customTags = [ '<%', '%>' ]; ``` -##### Pass Value into Parse Method -```js -Mustache.parse(template, customTags); -``` - ##### Override Tags Property ```js Mustache.tags = customTags;