Skip to content

Commit 5668eba

Browse files
committed
chore: cleanup examples and make them more readable
1 parent ab3a0b9 commit 5668eba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ with this code in place, we can now use the following CSP meta tag (which is wha
168168

169169
// 2. or load all locales at once
170170
- import 'multiple-select-vanilla/dist/locales/multiple-select-all-locales';
171-
+ // named import
171+
// named import
172172
+ import { locales } from 'multiple-select-vanilla/dist/locales/all-locales.js';
173-
+ // OR default import
173+
// OR default import
174174
+ import locales from 'multiple-select-vanilla/dist/locales/all-locales.js';
175175

176176
// 3. lazyData option (old vs new)

packages/multiple-select-vanilla/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ const ms = multipleSelect('.multiple-select', {
8787

8888
// 2. or load all locales at once
8989
- import 'multiple-select-vanilla/dist/locales/multiple-select-all-locales';
90-
+ // named import
90+
// named import
9191
+ import { locales } from 'multiple-select-vanilla/dist/locales/all-locales.js';
92-
+ // OR default import
92+
// OR default import
9393
+ import locales from 'multiple-select-vanilla/dist/locales/all-locales.js';
9494

9595
// 3. lazyData option (old vs new)

0 commit comments

Comments
 (0)