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

Minor custom delimiters text improvement

pull/674/head
Phillip Johnsen GitHub 7 лет назад
Родитель
Сommit
a0b94e7956
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      CHANGELOG.md

+ 2
- 2
CHANGELOG.md Просмотреть файл

@@ -85,8 +85,8 @@ console.log(
>> TEST 1
```

The above illustrates the fact that `Mustache.parse()` cached the template without considering the custom delimiters provided.
This is no longer true.
The above illustrates the fact that `Mustache.parse()` made mustache.js cache the template without considering
the custom delimiters provided. This is no longer true.

We don't longer encourage using `Mustache.parse()` for this purpose, but have rather added a fourth argument to
`Mustache.render()` letting you provide custom delimiters when rendering.


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