Skip to content

Commit

Permalink
Update README.md to reflect correct caching behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
raymond-lam authored and phillipj committed Aug 25, 2018
1 parent 7845848 commit 8e45409
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8e45409

Please sign in to comment.