country-telephone-data
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -1469,3 +1469,3 @@ 'use strict' | ||
var allCountryCodes = {}; | ||
var allCountriesIso2Lookup = {}; | ||
var iso2Lookup = {}; | ||
var addCountryCode = function (iso2, dialCode, priority) { | ||
@@ -1503,3 +1503,3 @@ if (!(dialCode in allCountryCodes)) { | ||
} | ||
allCountriesIso2Lookup[allCountries[i].iso2] = i; | ||
iso2Lookup[allCountries[i].iso2] = i; | ||
@@ -1512,4 +1512,4 @@ // dial codes | ||
allCountries: allCountries, | ||
allCountriesIso2Lookup: allCountriesIso2Lookup, | ||
iso2Lookup: iso2Lookup, | ||
allCountryCodes: allCountryCodes | ||
}; |
{ | ||
"name": "country-telephone-data", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "country_telephone_data.js", |
29669