Skip to content

Commit 7fedbed

Browse files
committed
Use esm.sh for cdn links
1 parent 2e20563 commit 7fedbed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<link rel="preconnect" href="https://fonts.gstatic.com">
1313
<link href="https://fonts.googleapis.com/css2?family=PT+Mono&display=swap" rel="stylesheet">
1414
<script>(window.customElements && document.head.attachShadow) || (document.querySelector('html').className += ' oldie')</script>
15-
<script type="module">import 'https://esm.sh/[email protected].5'</script>
15+
<script type="module">import 'https://esm.sh/[email protected].6'</script>
1616
</head>
1717
<body>
1818

@@ -22,7 +22,7 @@
2222
<h1>
2323
<span class="title">
2424
&lt; <em>css-doodle</em> /&gt;
25-
<a class="version" href="https://cdn.jsdelivr.net/npm/[email protected].5/css-doodle.min.js">v0.40.5</a>
25+
<a class="version" href="https://esm.sh/[email protected].6/css-doodle.min.js?raw">v0.40.6</a>
2626
</span>
2727
</span>
2828
</h1>
@@ -87,11 +87,11 @@ <h3>
8787
<section class="gettting-started wrap">
8888
<h2><a name="getting-started"></a>Getting Started</h2>
8989
<p>
90-
Download the <a href="https://cdn.jsdelivr.net/npm/css-doodle/css-doodle.min.js">latest version</a> or include it directly from a CDN:
90+
Download the <a href="https://esm.sh/css-doodle/css-doodle.min.js?raw">latest version</a> or include it directly from a CDN:
9191
</p>
9292
<p class="first-code-sample">
9393
<textarea code>
94-
<script src="https://cdn.jsdelivr.net/npm/css-doodle/css-doodle.min.js"></script>
94+
<script src="https://esm.sh/css-doodle/css-doodle.min.js?raw"></script>
9595
</textarea>
9696
</p>
9797
<p>You can also use ES Modules in modern browsers:</p>

0 commit comments

Comments
 (0)