Skip to content

Commit

Permalink
Readme: Remove version nums from CDN URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
slevithan committed Sep 15, 2024
1 parent 27e7960 commit 53c8c86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ In browsers:

```html
<script type="module">
import {regex, pattern} from 'https://cdn.jsdelivr.net/npm/regex@4.3.2/+esm';
import {regex, pattern} from 'https://esm.run/regex';
//
</script>
```
Expand All @@ -127,7 +127,7 @@ In browsers:
<summary>Using a global name (no import)</summary>

```html
<script src="https://cdn.jsdelivr.net/npm/regex@4.3.2/dist/regex.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/regex/dist/regex.min.js"></script>
<script>
const {regex, pattern} = Regex;
</script>
Expand Down

0 comments on commit 53c8c86

Please sign in to comment.