Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Commit dc80fa1

Browse files
author
Zirak
committed
Built stuff
1 parent e02736b commit dc80fa1

File tree

2 files changed

+100
-100
lines changed

2 files changed

+100
-100
lines changed

master.js

Lines changed: 99 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -3640,106 +3640,106 @@ var longNames = {
36403640

36413641
var currencies, symbols; //to be filled in next line by build
36423642
/* acquired by going to google.com/finance/converter and running
3643-
JSON.stringify([].map.call(f.from.options, function (e) { return e.value; }, {}), null, 4)
3643+
JSON.stringify([].reduce.call(f.from.options, function (r, e) { return (r[e.value] = true, r); }, {}), null, 4)
36443644
for some reason, NIS (New Israeli Shekel) does not appear there, only ILS,
36453645
despite Google accepting both. it was added manually
36463646
*/
3647-
currencies = Object.TruthMap([
3648-
"AED",
3649-
"ANG",
3650-
"ARS",
3651-
"AUD",
3652-
"BDT",
3653-
"BGN",
3654-
"BHD",
3655-
"BND",
3656-
"BOB",
3657-
"BRL",
3658-
"BWP",
3659-
"CAD",
3660-
"CHF",
3661-
"CLP",
3662-
"CNY",
3663-
"COP",
3664-
"CRC",
3665-
"CZK",
3666-
"DKK",
3667-
"DOP",
3668-
"DZD",
3669-
"EEK",
3670-
"EGP",
3671-
"EUR",
3672-
"FJD",
3673-
"GBP",
3674-
"HKD",
3675-
"HNL",
3676-
"HRK",
3677-
"HUF",
3678-
"IDR",
3679-
"ILS",
3680-
"INR",
3681-
"JMD",
3682-
"JOD",
3683-
"JPY",
3684-
"KES",
3685-
"KRW",
3686-
"KWD",
3687-
"KYD",
3688-
"KZT",
3689-
"LBP",
3690-
"LKR",
3691-
"LTL",
3692-
"LVL",
3693-
"MAD",
3694-
"MDL",
3695-
"MKD",
3696-
"MUR",
3697-
"MVR",
3698-
"MXN",
3699-
"MYR",
3700-
"NAD",
3701-
"NGN",
3702-
"NIO",
3703-
"NIS",
3704-
"NOK",
3705-
"NPR",
3706-
"NZD",
3707-
"OMR",
3708-
"PEN",
3709-
"PGK",
3710-
"PHP",
3711-
"PKR",
3712-
"PLN",
3713-
"PYG",
3714-
"QAR",
3715-
"RON",
3716-
"RSD",
3717-
"RUB",
3718-
"SAR",
3719-
"SCR",
3720-
"SEK",
3721-
"SGD",
3722-
"SKK",
3723-
"SLL",
3724-
"SVC",
3725-
"THB",
3726-
"TND",
3727-
"TRY",
3728-
"TTD",
3729-
"TWD",
3730-
"TZS",
3731-
"UAH",
3732-
"UGX",
3733-
"USD",
3734-
"UYU",
3735-
"UZS",
3736-
"VEF",
3737-
"VND",
3738-
"XOF",
3739-
"YER",
3740-
"ZAR",
3741-
"ZMK"
3742-
]);
3647+
currencies = {
3648+
"AED": true,
3649+
"ANG": true,
3650+
"ARS": true,
3651+
"AUD": true,
3652+
"BDT": true,
3653+
"BGN": true,
3654+
"BHD": true,
3655+
"BND": true,
3656+
"BOB": true,
3657+
"BRL": true,
3658+
"BWP": true,
3659+
"CAD": true,
3660+
"CHF": true,
3661+
"CLP": true,
3662+
"CNY": true,
3663+
"COP": true,
3664+
"CRC": true,
3665+
"CZK": true,
3666+
"DKK": true,
3667+
"DOP": true,
3668+
"DZD": true,
3669+
"EEK": true,
3670+
"EGP": true,
3671+
"EUR": true,
3672+
"FJD": true,
3673+
"GBP": true,
3674+
"HKD": true,
3675+
"HNL": true,
3676+
"HRK": true,
3677+
"HUF": true,
3678+
"IDR": true,
3679+
"ILS": true,
3680+
"INR": true,
3681+
"JMD": true,
3682+
"JOD": true,
3683+
"JPY": true,
3684+
"KES": true,
3685+
"KRW": true,
3686+
"KWD": true,
3687+
"KYD": true,
3688+
"KZT": true,
3689+
"LBP": true,
3690+
"LKR": true,
3691+
"LTL": true,
3692+
"LVL": true,
3693+
"MAD": true,
3694+
"MDL": true,
3695+
"MKD": true,
3696+
"MUR": true,
3697+
"MVR": true,
3698+
"MXN": true,
3699+
"MYR": true,
3700+
"NAD": true,
3701+
"NGN": true,
3702+
"NIO": true,
3703+
"NIS": true,
3704+
"NOK": true,
3705+
"NPR": true,
3706+
"NZD": true,
3707+
"OMR": true,
3708+
"PEN": true,
3709+
"PGK": true,
3710+
"PHP": true,
3711+
"PKR": true,
3712+
"PLN": true,
3713+
"PYG": true,
3714+
"QAR": true,
3715+
"RON": true,
3716+
"RSD": true,
3717+
"RUB": true,
3718+
"SAR": true,
3719+
"SCR": true,
3720+
"SEK": true,
3721+
"SGD": true,
3722+
"SKK": true,
3723+
"SLL": true,
3724+
"SVC": true,
3725+
"THB": true,
3726+
"TND": true,
3727+
"TRY": true,
3728+
"TTD": true,
3729+
"TWD": true,
3730+
"TZS": true,
3731+
"UAH": true,
3732+
"UGX": true,
3733+
"USD": true,
3734+
"UYU": true,
3735+
"UZS": true,
3736+
"VEF": true,
3737+
"VND": true,
3738+
"XOF": true,
3739+
"YER": true,
3740+
"ZAR": true,
3741+
"ZMK": true
3742+
};
37433743
symbols = {
37443744
//euro €
37453745
"\u20ac" : "EUR",
@@ -3749,9 +3749,9 @@ symbols = {
37493749
//pound sterling ₤
37503750
"\u20a4" : "GBP",
37513751

3752-
//indian rupee ₨ (common)
3752+
//indian rupee ₨
37533753
"\u20a8" : "INR",
3754-
//indian rupee ₹ (official)
3754+
//indian rupee ₹
37553755
"\u20b9" : "INR",
37563756

37573757
//yen ¥

0 commit comments

Comments
 (0)