summaryrefslogtreecommitdiff
path: root/docs/templates.md
diff options
context:
space:
mode:
authorpraschke <stel@comfy.monster>2023-10-17 21:23:47 +0100
committerpraschke <stel@comfy.monster>2023-10-17 21:23:47 +0100
commit9a78edaee74a8355d49ec930c82e118518d5d625 (patch)
tree7553667f28c5ab5e49d6060357efb3628c14116b /docs/templates.md
parent0506cfbee5443635ebd6ac79054b85f171775039 (diff)
fix: dumpObject
Diffstat (limited to 'docs/templates.md')
-rw-r--r--docs/templates.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/templates.md b/docs/templates.md
index 778b8e2d..c050889f 100644
--- a/docs/templates.md
+++ b/docs/templates.md
@@ -14,7 +14,7 @@ This function can be helpful for debugging values when creating templates.
<details>
<summary>Syntax:</summary>
- <code>{{#dumpObject}}<i>&lt;object&gt;</i>{{/dumpObject}}</code>
+ <code>{{dumpObject <i>object</i>}}</code>
* _`object`_ <br>
The object to convert.
@@ -23,7 +23,7 @@ This function can be helpful for debugging values when creating templates.
<summary>Example:</summary>
```handlebars
- <pre>{{#dumpObject}}{{.}}{{/dumpObject}}</pre>
+ <pre>{{dumpObject .}}</pre>
```
Output: