META-INF.resources.bower_components.globalize.src.common.validate.cldr.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([
"../validate",
"../../util/always-array"
], function (validate, alwaysArray) {
return function (path, value, options) {
var skipBoolean;
options = options || {};
skipBoolean = alwaysArray(options.skip).some(function (pathRe) {
return pathRe.test(path);
});
validate("E_MISSING_CLDR", "Missing required CLDR content `{path}`.", value || skipBoolean, {
path: path
});
};
});