Skip to content

Commit dcdd157

Browse files
committed
1.5.3
1 parent bde5657 commit dcdd157

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/INSTALL.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
Copy the latest version of the [jsonstat-toolkit code](https://raw.githubusercontent.com/jsonstat/toolkit/master/iife.js) to your server and use a script tag in your webpage to link to it. <strong>jsonstat-toolkit</strong> is also available from several CDNs ([unpkg](https://unpkg.com), [jsDelivr](https://www.jsdelivr.com/)):
1212

1313
```html
14-
<script src="https://unpkg.com/[email protected].2"></script>
14+
<script src="https://unpkg.com/[email protected].3"></script>
1515
```
1616

1717
```html
18-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></script>
18+
<script src="https://cdn.jsdelivr.net/npm/[email protected].3"></script>
1919
```
2020

2121
The Toolkit works on any modern browser. It also supports Internet Explorer 9 or higher as long as its connection capabilities (*JSONstat(url).then(func)*) are not used (and even older Internet Explorer versions as long as polyfills are provided for [Array.isArray](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray), [Object.keys](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys) and [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach)). It is also possible to use the Toolkit connection capabilities on Internt Explorer as long as polyfills for [promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) and [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) are provided:
2222

2323
```html
2424
<script src="https://cdn.jsdelivr.net/combine/npm/[email protected],npm/[email protected]"></script>
25-
<script src="https://unpkg.com/[email protected].2"></script>
25+
<script src="https://unpkg.com/[email protected].3"></script>
2626
```
2727

2828
### ECMAScript module
@@ -31,13 +31,13 @@ Very modern browsers support ECMAScript modules. Copy the latest version of the
3131

3232
```html
3333
<script type="module">
34-
import JSONstat from "https://unpkg.com/[email protected].2/import.mjs";
34+
import JSONstat from "https://unpkg.com/[email protected].3/import.mjs";
3535
</script>
3636
```
3737

3838
```html
3939
<script type="module">
40-
import JSONstat from "https://cdn.jsdelivr.net/npm/[email protected].2/import.mjs";
40+
import JSONstat from "https://cdn.jsdelivr.net/npm/[email protected].3/import.mjs";
4141
</script>
4242
```
4343

@@ -72,5 +72,5 @@ import { JSONstat } from "@jsonstat/toolkit"
7272
To import a particular version of the jsonstat-toolkit in [Observable](https://observablehq.com/):
7373

7474
```js
75-
JSONstat = require("[email protected].2").catch(() => window["JSONstat"])
75+
JSONstat = require("[email protected].3").catch(() => window["JSONstat"])
7676
```

0 commit comments

Comments
 (0)