Skip to content

Commit

Permalink
Update README.md for UMD bundle v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jul 26, 2024
1 parent 5ad3a9b commit 5825b52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ limitations under the License.
To use in Observable,

```javascript
reUtf16UnpairedSurrogate = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-unpaired-surrogate@umd/browser.js' )
reUtf16UnpairedSurrogate = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-unpaired-surrogate@v0.2.2-umd/browser.js' )
```

To vendor stdlib functionality and avoid installing dependency trees for Node.js, you can use the UMD server build:
Expand All @@ -58,7 +58,7 @@ var reUtf16UnpairedSurrogate = require( 'path/to/vendor/umd/regexp-utf16-unpaire
To include the bundle in a webpage,

```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-unpaired-surrogate@umd/browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-unpaired-surrogate@v0.2.2-umd/browser.js"></script>
```

If no recognized module system is present, access bundle contents via the global scope:
Expand Down Expand Up @@ -109,7 +109,7 @@ var bool = reUtf16UnpairedSurrogate.REGEXP.test( 'abc\uD800def' );
<!DOCTYPE html>
<html lang="en">
<body>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-unpaired-surrogate@umd/browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-unpaired-surrogate@v0.2.2-umd/browser.js"></script>
<script type="text/javascript">
(function () {
Expand Down

0 comments on commit 5825b52

Please sign in to comment.