Compare commits

...

3 Commits

Author SHA1 Message Date
konnorrogers
ecdaf728a1 fix previews 2023-06-21 11:09:47 -04:00
Cory LaViska
238d1bcb58 Update docs/assets/scripts/code-previews.js 2023-06-20 16:16:03 -04:00
konnorrogers
55436d09ef fix load flavor 2023-06-20 16:10:41 -04:00

View File

@@ -1,4 +1,4 @@
(() => {
function run() {
function convertModuleLinks(html) {
html = html
.replace(/@shoelace-style\/shoelace/g, `https://cdn.skypack.dev/@shoelace-style/shoelace@${shoelaceVersion}`)
@@ -243,4 +243,7 @@
form.remove();
}
});
})();
}
run();
document.addEventListener('turbo:load', run);