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

META-INF.resources.bower_components.globalize.src.message.formatter-fn.js Maven / Gradle / Ivy

There is a newer version: 1.2.2.1-jre17
Show newest version
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