META-INF.resources.bower_components.globalize.src.number.symbol.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([
"./numbering-system"
], function (numberNumberingSystem) {
/**
* Symbol( name, cldr )
*
* @name [String] Symbol name.
*
* @cldr [Cldr instance].
*
* Return the localized symbol given its name.
*/
return function (name, cldr) {
return cldr.main([
"numbers/symbols-numberSystem-" + numberNumberingSystem(cldr),
name
]);
};
});