META-INF.resources.bower_components.globalize.src.message.formatter-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-type/message-variables"
], function (validateParameterTypeMessageVariables) {
return function (formatter) {
return function messageFormatter(variables) {
if (typeof variables === "number" || typeof variables === "string") {
variables = [].slice.call(arguments, 0);
}
validateParameterTypeMessageVariables(variables, "variables");
return formatter(variables);
};
};
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy