File tree Expand file tree Collapse file tree 4 files changed +1
-7
lines changed
Expand file tree Collapse file tree 4 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ See the [language-subtag-registry](https://github.com/mattcg/language-subtag-reg
1414## API ##
1515
1616``` js
17- var tags = require ( ' language-tags' )
17+ import tags from ' language-tags'
1818```
1919
2020Note that all lookups and checks for tags and subtags are case insensitive. For formatting according to common conventions, see ` tag.format ` .
Original file line number Diff line number Diff line change 44 * @copyright Copyright (c) 2013, Matthew Caruana Galizia
55 */
66
7- 'use strict' ;
8-
97import index from 'language-subtag-registry/data/json/index.json' with { type : 'json' } ;
108import registry from 'language-subtag-registry/data/json/registry.json' with { type : 'json' } ;
119
Original file line number Diff line number Diff line change 44 * @copyright Copyright (c) 2013, Matthew Caruana Galizia
55 */
66
7- 'use strict' ;
8-
97import index from 'language-subtag-registry/data/json/index.json' with { type : 'json' } ;
108import registry from 'language-subtag-registry/data/json/registry.json' with { type : 'json' } ;
119
Original file line number Diff line number Diff line change 44 * @copyright Copyright (c) 2013, Matthew Caruana Galizia
55 */
66
7- 'use strict' ;
8-
97import Tag from './Tag.js' ;
108import Subtag from './Subtag.js' ;
119
You can’t perform that action at this time.
0 commit comments