Rendering a reference appears to do a truthiness check because false renders an empty string despite rendering as "false" in an array element.

This commit is contained in:
Tom Alexander
2020-05-06 20:13:33 -04:00
parent 0f47000a9b
commit b45688351e
16 changed files with 37 additions and 1 deletions

View File

@@ -0,0 +1 @@
{"things": ["Alice", "Bob", "Chris"]}

View File

@@ -0,0 +1 @@
{"things": {}}

View File

@@ -0,0 +1 @@
["cat", "dog"]

View File

@@ -0,0 +1 @@
{"things": {"name": "Alice", "keyboard": "K-Type"}}

View File

@@ -0,0 +1 @@
{"there_are_no_things": 4}

View File

@@ -0,0 +1 @@
{"things": "just a string"}

View File

@@ -0,0 +1 @@
{"things": false}

View File

@@ -0,0 +1 @@
{"things": null}

View File

@@ -0,0 +1 @@
{"things": 0}

View File

@@ -0,0 +1 @@
{"things": ""}

View File

@@ -0,0 +1 @@
{"things": []}

View File

@@ -0,0 +1,5 @@
{^things}
Thing: {things}
{:else}
No things {.}
{/things}