META-INF.resources.bower_components.globalize.src.common.runtime-key.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([
"../util/string/hash"
], function (stringHash) {
return function (fnName, locale, args, argsStr) {
var hash;
argsStr = argsStr || JSON.stringify(args);
hash = stringHash(fnName + locale + argsStr);
return hash > 0 ? "a" + hash : "b" + Math.abs(hash);
};
});