Closed GarthDB closed 8 months ago
Latest commit: 0de1e1858b905f7af7617f65f3986b586e729d59
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Total time: 19.1s | Comparison time: 17.7s | Estimated loss: 1.3s (7.0% slower) | Action | Time | Status | Info | |
---|---|---|---|---|---|---|---|
🟩 | SyncWorkspace |
0ms | Passed | ||||
⬛️ | SetupNodeTool(~20.11) |
1.2s | Skipped | ||||
🟩 | InstallNodeDeps(~20.11) |
8.4s | Passed | ||||
🟩 | SyncNodeProject(contrast-colors) |
0.2ms | Passed | ||||
🟩 | SyncNodeProject(ui) |
0.3ms | Passed | ||||
🟩 | RunTask(ui:makeDistDir) |
32.3ms | Passed | ||||
🟩 | RunTask(ui:copyCNAME) |
55.7ms | Passed | ||||
🟩 | RunTask(ui:copyUIIcons) |
55.7ms | Passed | ||||
🟩 | RunTask(ui:copyWorkflowIcons) |
39.5ms | Passed | ||||
🟩 | RunTask(ui:buildSite) |
9.4s | Passed |
Description
There were some broken examples in the "Leonardo JS API" page.
Motivation
Previously, this was the example code on the site has this code which doesn't work:
I changed it to this:
I also added this, (which helps #229 ).
To-do list