META-INF.resources.bower_components.globalize.src.plural.generator-fn.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
define([
"../common/validate/parameter-presence",
"../common/validate/parameter-type/number"
], function (validateParameterPresence, validateParameterTypeNumber) {
return function (plural) {
return function pluralGenerator(value) {
validateParameterPresence(value, "value");
validateParameterTypeNumber(value, "value");
return plural(value);
};
};
});