language-tags
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -41,3 +41,3 @@ /** | ||
i = types[type]; | ||
if (!i) { | ||
if (!i && 0 !== i) { | ||
error(Subtag.ERR_NONEXISTENT, 'Non-existent subtag \'' + subtag + '\' of type \'' + type + '\'.'); | ||
@@ -44,0 +44,0 @@ } |
{ | ||
"name": "language-tags", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"implements": ["CommonJS/Modules/1.0"], | ||
@@ -5,0 +5,0 @@ "description": "Work with IANA language tags.", |
@@ -250,2 +250,3 @@ # IANA Language Tags for JavaScript # | ||
- [Python version by the Flanders Heritage Agency](https://github.com/OnroerendErfgoed/language-tags) | ||
- [Language Subtag Lookup tool by Richard Ishida](http://rishida.net/utils/subtags/) | ||
@@ -252,0 +253,0 @@ - [W3C Internationalization Checker](http://validator.w3.org/i18n-checker/) |
46953
262