Skip to content

Commit 88f28fe

Browse files
Update tutorials (#48)
1 parent c7cec8c commit 88f28fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/2_0/tutorials/date-picker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ cargo add icu
3636
We recommend using [CodePen](https://codepen.io/pen/?editors=1011) to follow along. To load ICU4X into CodePen, you can use this snippet in the JavaScript editor:
3737

3838
```javascript
39-
import { Locale, DateFormatter, IsoDate, DateTimeLength } from "https://storage.googleapis.com/static-493776/2_0/npm/lib/index.mjs";
39+
import { Locale, DateFormatter, IsoDate, DateTimeLength } from "https://unpkg.com/[email protected]";
4040
```
4141

42-
This loads the full development ICU4X WebAssembly file. Since it may take some time to load on slow connections, we'll create a loading div. In future tutorials you will learn how to build an optimized WebAssembly file, reducing the size of the WASM file by 99% or more. Add this to your HTML:
42+
This loads the full ICU4X WebAssembly file. Since it may take a few seconds to load on slow connections, we'll create a loading div. Add this to your HTML:
4343

4444
```html
4545
<div id="loading">Loading…</div>

0 commit comments

Comments
 (0)