Просмотр исходного кода

Update README.md to reflect correct caching behavior

tags/v3.0.0
raymond.lam Phillip Johnsen 7 лет назад
Родитель
Сommit
8e45409455
1 измененных файлов: 1 добавлений и 6 удалений
  1. +1
    -6
      README.md

+ 1
- 6
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;


Загрузка…
Отмена
Сохранить