8000 Auto-generated commit · stdlib-js/string-format@5f7a712 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f7a712

Browse files
committed
Auto-generated commit
1 parent 48940ce commit 5f7a712

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

5050
To use in Observable,
5151

52+
```javascript
53+
format = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/string-format@umd/browser.js' )
54+
```
55+
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/string-format/tags). For example,
56+
5257
```javascript
5358
format = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/string-format@v0.1.1-umd/browser.js' )
5459
```
@@ -62,7 +67,7 @@ var format = require( 'path/to/vendor/umd/string-format/index.js' )
6267
To include the bundle in a webpage,
6368

6469
```html
65-
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/string-format@v0.1.1-umd/browser.js"></script>
70+
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/string-format@umd/browser.js"></script>
6671
```
6772

6873
If no recognized module system is present, access bundle contents via the global scope:
@@ -253,7 +258,7 @@ out = format( str, 7 );
253258
<!DOCTYPE html>
254259
<html lang="en">
255260
<body>
256-
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/string-format@v0.1.1-umd/browser.js"></script>
261+
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/stdlib-js/string-format@umd/browser.js"></script>
257262
<script type="text/javascript">
258263
(function () {
259264

0 commit comments

Comments
 (0)
0