Skip to content

Commit

Permalink
Use @latest from unpkg in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-harding committed Oct 7, 2024
1 parent 235586a commit 6f7c4d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- [ ] Move web component to framework
- [ ] Update readme for API updates

- [ ] Support gradients

Expand Down
2 changes: 1 addition & 1 deletion demo/assets/js/loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function loadComponents() {

async function loadPaintWorklet() {
const { register, createCustomElement } = await import(
"https://unpkg.com/superellipse-squircle@0.1.11/index.mjs"
"https://unpkg.com/superellipse-squircle@latest/index.min.js"
);
register("https://unpkg.com/[email protected]/worklet.min.js");
createCustomElement("th-squircle");
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</script>

<link
href="https://unpkg.com/superellipse-squircle@0.1.11/index.css"
href="https://unpkg.com/superellipse-squircle@latest/index.css"
rel="stylesheet"
/>
<link
Expand Down

0 comments on commit 6f7c4d0

Please sign in to comment.