Skip to content

Commit

Permalink
Document new utility methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jaylinski committed Sep 6, 2023
1 parent 13a2e2d commit b723f29
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/.vuepress/styles/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@ $contentBorderRadius = 0.5rem
h1, h2, h3, h4, h5, h6 {
// Makes the header end before a float-right div
display: flex;
flex-wrap: wrap;
}
h1, h2, h3, h4, h5, h6 {
> .version {
font-weight: normal;
font-size: 70%;
flex-basis: 100%;
}
}

$buttonLinkBgColor = darken($baseColor, 10%);
Expand Down
10 changes: 10 additions & 0 deletions src/api-reference/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ Determines if an object is an array.

Determines if an object is a function.

### `Handlebars.Utils.isMap(obj)` <small class="version">(since v5.0.0)</small>

Determines if an object is a
[Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map).

### `Handlebars.Utils.isSet(obj)` <small class="version">(since v5.0.0)</small>

Determines if an object is a
[Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set).

### `Handlebars.log(level, message)`

Logger used by the `log` helper.
Expand Down

0 comments on commit b723f29

Please sign in to comment.