META-INF.resources.bower_components.globalize.src.currency.name-properties.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwebmp-globalize Show documentation
Show all versions of jwebmp-globalize Show documentation
The JWebSwing implementation for a full Globalization
The newest version!
define([
"./code-properties",
"../util/object/filter"
], function (currencyCodeProperties, objectFilter) {
/**
* nameProperties( currency, cldr )
*
* Return number pattern with the appropriate currency code in as literal.
*/
return function (currency, cldr) {
var properties = currencyCodeProperties(currency, cldr);
properties.displayNames = objectFilter(cldr.main([
"numbers/currencies",
currency
]), /^displayName/);
return properties;
};
});