Bläddra i källkod

Update README.md to reflect correct caching behavior

pull/671/head
raymond.lam 7 år sedan
förälder
incheckning
622b9c9b23
1 ändrade filer med 1 tillägg och 6 borttagningar
  1. +1
    -6
      README.md

+ 1
- 6
README.md Visa fil

@@ -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;


Laddar…
Avbryt
Spara