Skip to content

Commit 1bee973

Browse files
joelkeenermstokes-f5
authored andcommitted
doc: note w/cli command to run simple loading example
1 parent 5ece949 commit 1bee973

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ templateProvider.getSetData('templateSetName')
110110
});
111111
```
112112

113-
>**Note:** Despite loading a single template set, a template set name must still be provided when querying the provider.
113+
> **Note:** Despite loading a single template set, a template set name must still be provided when querying the provider.

docs/api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ fast.Template.loadYaml(yamldata)
2929
});
3030
```
3131

32+
> **Note:** If the example above were saved in a file named simpleLoading.js, then you could run it from the CLI with this command: `node simpleLoading.js`
33+
3234
If a `Template` has been serialized to JSON (e.g., to send in an HTTP request), it can be deserialized with `Template.fromJson()`:
3335

3436
```javascript

0 commit comments

Comments
 (0)