-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md for UMD bundle v0.2.0
- Loading branch information
1 parent
16bcb42
commit e5ad3ea
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ limitations under the License. | |
To use in Observable, | ||
|
||
```javascript | ||
isDomainName = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-domain-name@umd/browser.js' ) | ||
isDomainName = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-domain-name@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: | ||
|
@@ -62,7 +62,7 @@ var isDomainName = require( 'path/to/vendor/umd/assert-is-domain-name/index.js' | |
To include the bundle in a webpage, | ||
|
||
```html | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-domain-name@umd/browser.js"></script> | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-domain-name@v0.2.0-umd/browser.js"></script> | ||
``` | ||
|
||
If no recognized module system is present, access bundle contents via the global scope: | ||
|
@@ -109,7 +109,7 @@ bool = isDomainName( '[email protected]' ); | |
<!DOCTYPE html> | ||
<html lang="en"> | ||
<body> | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-domain-name@umd/browser.js"></script> | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-domain-name@v0.2.0-umd/browser.js"></script> | ||
<script type="text/javascript"> | ||
(function () { | ||
|