Skip to content

Commit b8aa1d8

Browse files
committed
Auto-generated commit
1 parent 8c6c78d commit b8aa1d8

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+
isMethod = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-method@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/assert-is-method/tags). For example,
50+
4651
```javascript
4752
isMethod = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/[email protected]/browser.js' )
4853
```
@@ -56,7 +61,7 @@ var isMethod = require( 'path/to/vendor/umd/assert-is-method/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/assert-is-method@v0.2.2-umd/browser.js"></script>
64+
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-method@umd/browser.js"></script>
6065
```
6166

6267
If no recognized module system is present, access bundle contents via the global scope:
@@ -142,7 +147,7 @@ bool = isMethod( value, 'toString' );
142147
<!DOCTYPE html>
143148
<html lang="en">
144149
<body>
145-
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-method@v0.2.2-umd/browser.js"></script>
150+
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-method@umd/browser.js"></script>
146151
<script type="text/javascript">
147152
(function () {
148153

0 commit comments

Comments
 (0)