Skip to content

Commit 97fd80e

Browse files
committed
Auto-generated commit
1 parent b6de0ea commit 97fd80e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ limitations under the License.
4343

4444
To use in Observable,
4545

46+
```javascript
47+
bernoulli = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@umd/browser.js' )
48+
```
49+
The previous example will load the latest bundled code from the umd branch. Alternatively, you may load a specific version by loading the file from one of the [tagged bundles](https://github.com/stdlib-js/random-array-bernoulli/tags). For example,
50+
4651
```javascript
4752
bernoulli = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@v0.2.0-umd/browser.js' )
4853
```
@@ -56,7 +61,7 @@ var bernoulli = require( 'path/to/vendor/umd/random-array-bernoulli/index.js' )
5661
To include the bundle in a webpage,
5762

5863
```html
59-
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@v0.2.0-umd/browser.js"></script>
64+
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@umd/browser.js"></script>
6065
```
6166

6267
If no recognized module system is present, access bundle contents via the global scope:
@@ -357,7 +362,7 @@ var sz = random.byteLength;
357362
<html lang="en">
358363
<body>
359364
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/console-log-each@umd/browser.js"></script>
360-
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@v0.2.0-umd/browser.js"></script>
365+
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@umd/browser.js"></script>
361366
<script type="text/javascript">
362367
(function () {
363368

0 commit comments

Comments
 (0)