All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.bower_components.globalize.src.currency.name-properties.js Maven / Gradle / Ivy

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;
    };

});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy