diff --git a/README.md b/README.md index 66f2c06..d4a15b1 100644 --- a/README.md +++ b/README.md @@ -49,16 +49,16 @@ If you just want to directly include the script without installing it as a depen ```html - + ``` @@ -70,7 +70,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://unpkg.com/share-menu@5.0.0?module";import"https://unpkg.com/share-menu@5.0.0/targets/presets/all.js?module";var b=document.createElement("share-menu"),c=document.createElement("share-target-preset-all");b.appendChild(c),document.body.appendChild(b),b.share();'; + 'import"https://unpkg.com/share-menu@5.0.1?module";import"https://unpkg.com/share-menu@5.0.1/targets/presets/all.js?module";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); ``` diff --git a/demo/index.html b/demo/index.html index f159735..a0e0411 100644 --- a/demo/index.html +++ b/demo/index.html @@ -240,8 +240,8 @@

<share-menu> demo

import 'https://unpkg.com/@material/web@1.0.0-pre.14/switch/switch.js?module'; import 'https://unpkg.com/@material/web@1.0.0-pre.14/button/filled-button.js?module'; import 'https://unpkg.com/@material/web@1.0.0-pre.14/icon/icon.js?module'; - import 'https://unpkg.com/share-menu@5.0.0/share-menu.js?module'; - import 'https://unpkg.com/share-menu@5.0.0/targets/presets/all.js?module'; + import 'https://unpkg.com/share-menu@5.0.1/share-menu.js?module'; + import 'https://unpkg.com/share-menu@5.0.1/targets/presets/all.js?module'; <\/script> `.replace(/ {12}/g, '');