8000 Auto-generated commit · stdlib-js/array-take@dcc7a3a · GitHub
[go: up one dir, main page]

Skip to content

Commit dcc7a3a

Browse files
committed
Auto-generated commit
1 parent dbb7db8 commit dcc7a3a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
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+
take = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/array-take@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/array-take/tags). For example,
50+
4651
```javascript
4752
take = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/array-take@v0.1.0-umd/browser.js' )
4853
```
@@ -56,7 +61,7 @@ var take = require( 'path/to/vendor/umd/array-take/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/array-take@v0.1.0-umd/browser.js"></script>
64+
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-take@umd/browser.js"></script>
6065
```
6166

6267
If no recognized module system is present, access bundle contents via the global scope:
@@ -145,7 +150,7 @@ var y = take( x, [ -10, 10 ], {
145150
<body>
146151
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/random-array-discrete-uniform@umd/browser.js"></script>
147152
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-linspace@umd/browser.js"></script>
148-
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-take@v0.1.0-umd/browser.js"></script>
153+
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/array-take@umd/browser.js"></script>
149154
<script type="text/javascript">
150155
(function () {
151156

0 commit comments

Comments
 (0)
0