Skip to content

Commit 115b206

Browse files
committed
Travis build: 856
1 parent 1b612c1 commit 115b206

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ npm install 30-seconds-of-code
3939
yarn add 30-seconds-of-code
4040
```
4141

42-
[CDN link](https://unpkg.com/30-seconds-of-code@2/)
42+
[CDN link](https://unpkg.com/30-seconds-of-code/)
4343

4444
<details>
4545
<summary>Details</summary>
4646

4747
**Browser**
4848

4949
```html
50-
<script src="https://unpkg.com/30-seconds-of-code@2"></script>
50+
<script src="https://unpkg.com/30-seconds-of-code@1/dist/_30s.es5.min.js"></script>
5151
<script>
5252
_30s.average(1, 2, 3);
5353
</script>
@@ -60,9 +60,9 @@ yarn add 30-seconds-of-code
6060
const _30s = require('30-seconds-of-code');
6161
_30s.average(1, 2, 3);
6262

63-
// ES Modules (tree-shaking support)
64-
import { average } from '30-seconds-of-code';
65-
average(1, 2, 3);
63+
// ES Modules
64+
import _30s from '30-seconds-of-code';
65+
_30s.average(1, 2, 3);
6666
```
6767

6868
</details>

0 commit comments

Comments
 (0)