Skip to content

Commit 1abf2d0

Browse files
committed
Auto-generated commit
1 parent e963e3d commit 1abf2d0

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
@@ -53,6 +53,11 @@ limitations under the License.
5353

5454
To use in Observable,
5555

56+
```javascript
57+
ArrayBuffer = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/array-buffer@umd/browser.js' )
58+
```
59+
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/array-buffer/tags). For example,
60+
5661
```javascript
5762
ArrayBuffer = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/array-buffer@v0.2.1-umd/browser.js' )
5863
```
@@ -66,7 +71,7 @@ var ArrayBuffer = require( 'path/to/vendor/umd/array-buffer/index.js' )
6671
To include the bundle in a webpage,
6772

6873
```html
69-
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-buffer@v0.2.1-umd/browser.js"></script>
74+
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-buffer@umd/browser.js"></script>
7075
```
7176

7277
If no recognized module system is present, access bundle contents via the global scope:
@@ -229,7 +234,7 @@ var nbytes = b2.byteLength;
229234
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-float64@umd/browser.js"></script>
230235
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-uint8@umd/browser.js"></script>
231236
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/number-uint8-base-to-binary-string@umd/browser.js"></script>
232-
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-buffer@v0.2.1-umd/browser.js"></script>
237+
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-buffer@umd/browser.js"></script>
233238
<script type="text/javascript">
234239
(function () {
235240

0 commit comments

Comments
 (0)