Skip to content

Commit

Permalink
Update README.md for UMD bundle v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Feb 25, 2024
1 parent 34bac9f commit 9440d96
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 @@ -54,7 +54,7 @@ limitations under the License.
To use in Observable,

```javascript
typedarraypool = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/array-pool@umd/browser.js' )
typedarraypool = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/array-pool@v0.2.1-umd/browser.js' )
```

To vendor stdlib functionality and avoid installing dependency trees for Node.js, you can use the UMD server build:
Expand All @@ -66,7 +66,7 @@ var typedarraypool = require( 'path/to/vendor/umd/array-pool/index.js' )
To include the bundle in a webpage,

```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-pool@umd/browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-pool@v0.2.1-umd/browser.js"></script>
```

If no recognized module system is present, access bundle contents via the global scope:
Expand Down Expand Up @@ -408,7 +408,7 @@ pool.free( arr );
<html lang="en">
<body>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/random-base-randu@umd/browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-pool@umd/browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-pool@v0.2.1-umd/browser.js"></script>
<script type="text/javascript">
(function () {
Expand Down

0 comments on commit 9440d96

Please sign in to comment.