Skip to content

Commit

Permalink
Update README.md for UMD bundle v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Feb 14, 2024
1 parent b8405d8 commit 167e9a3
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 @@ -65,7 +65,7 @@ A one-parameter [Box-Cox transformation][box-cox-transformation] is defined as
To use in Observable,

```javascript
boxcox1p = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/math-base-special-boxcox1p@umd/browser.js' )
boxcox1p = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/math-base-special-boxcox1p@v0.2.0-umd/browser.js' )
```

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

```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/math-base-special-boxcox1p@umd/browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/math-base-special-boxcox1p@v0.2.0-umd/browser.js"></script>
```

If no recognized module system is present, access bundle contents via the global scope:
Expand Down Expand Up @@ -134,7 +134,7 @@ v = boxcox1p( -1.0, -1.0 );
<html lang="en">
<body>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-base-incrspace@umd/browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/math-base-special-boxcox1p@umd/browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/math-base-special-boxcox1p@v0.2.0-umd/browser.js"></script>
<script type="text/javascript">
(function () {
Expand Down

0 comments on commit 167e9a3

Please sign in to comment.