Ver código fonte

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 anos atrás
pai
commit
7e49944278
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      README.md

+ 1
- 1
README.md Ver arquivo

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



Carregando…
Cancelar
Salvar