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

Merge pull request #426 from kriix/master

Improve documentation to explain that Inverted Sections uses falsy
tags/v1.1.0
David da Silva Contín 11 лет назад
Родитель
Сommit
7e49944278
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      README.md

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

@@ -325,7 +325,7 @@ Output:

### Inverted Sections

An inverted section opens with `{{^section}}` instead of `{{#section}}`. The block of an inverted section is rendered only if the value of that section's tag is `null`, `undefined`, `false`, or an empty list.
An inverted section opens with `{{^section}}` instead of `{{#section}}`. The block of an inverted section is rendered only if the value of that section's tag is `null`, `undefined`, `false`, *falsy* or an empty list.

View:



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