Переглянути джерело

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 роки тому
джерело
коміт
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:



Завантаження…
Відмінити
Зберегти