From 07374be9cc2504018bcb9f5018718932cddc89bc Mon Sep 17 00:00:00 2001 From: atomiks Date: Thu, 6 Dec 2018 01:07:19 +1100 Subject: [PATCH] Update README-start.md --- static-parts/README-start.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static-parts/README-start.md b/static-parts/README-start.md index 0731ea0c4..b5c7b1b04 100644 --- a/static-parts/README-start.md +++ b/static-parts/README-start.md @@ -39,7 +39,7 @@ npm install 30-seconds-of-code yarn add 30-seconds-of-code ``` -[CDN link](https://unpkg.com/30-seconds-of-code@2/) +[CDN link](https://unpkg.com/30-seconds-of-code/)
Details @@ -47,7 +47,7 @@ yarn add 30-seconds-of-code **Browser** ```html - + @@ -60,9 +60,9 @@ yarn add 30-seconds-of-code const _30s = require('30-seconds-of-code'); _30s.average(1, 2, 3); -// ES Modules (tree-shaking support) -import { average } from '30-seconds-of-code'; -average(1, 2, 3); +// ES Modules +import _30s from '30-seconds-of-code'; +_30s.average(1, 2, 3); ```