Skip to content

Commit

Permalink
chore: bump readme + demo to 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dabolus committed Mar 8, 2024
1 parent eb311a2 commit 4395afa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ If you just want to directly include the script without installing it as a depen

```html
<!-- Main component -->
<script type="module" src="https://esm.run/share-menu@5.0.1"></script>
<script type="module" src="https://esm.run/share-menu@5.1.0"></script>
<!-- Single share target -->
<script
type="module"
src="https://esm.run/share-menu@5.0.1/targets/email.js"
src="https://esm.run/share-menu@5.1.0/targets/email.js"
></script>
<!-- Share target preset -->
<script
type="module"
src="https://esm.run/share-menu@5.0.1/targets/presets/all.js"
src="https://esm.run/share-menu@5.1.0/targets/presets/all.js"
></script>
```

Expand All @@ -72,7 +72,7 @@ Try copy-pasting this code on your browser's console in any website:
var a = document.createElement('script');
a.type = 'module';
a.textContent =
'import"https://esm.run/share-menu@5.0.1";import"https://esm.run/share-menu@5.0.1/targets/presets/all.js";var b=document.createElement("share-menu"),c=document.createElement("share-target-preset-all");b.appendChild(c),document.body.appendChild(b),b.share();';
'import"https://esm.run/share-menu@5.1.0";import"https://esm.run/share-menu@5.1.0/targets/presets/all.js";var b=document.createElement("share-menu"),c=document.createElement("share-target-preset-all");b.appendChild(c),document.body.appendChild(b),b.share();';
document.head.appendChild(a);
```

Expand Down
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ <h3>&lt;share-menu&gt; demo</h3>
"lit-html": "https://cdn.jsdelivr.net/npm/[email protected]/lit-html.js",
"lit-html/": "https://cdn.jsdelivr.net/npm/[email protected]/",
"tslib": "https://cdn.jsdelivr.net/npm/[email protected]/tslib.es6.mjs",
"share-menu": "https://cdn.jsdelivr.net/npm/share-menu@5.0.1/share-menu.js",
"share-menu/" : "https://cdn.jsdelivr.net/npm/share-menu@5.0.1/",
"share-menu": "https://cdn.jsdelivr.net/npm/share-menu@5.1.0/share-menu.js",
"share-menu/" : "https://cdn.jsdelivr.net/npm/share-menu@5.1.0/",
}
}
<\/script>
Expand Down

0 comments on commit 4395afa

Please sign in to comment.