META-INF.resources.bower_components.cldrjs.src.resource.get.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
The newest version!
define(function () {
// @path: normalized path
return function (data, path) {
var i,
node = data,
length = path.length;
for (i = 0; i < length - 1; i++) {
node = node[path[i]];
if (!node) {
return undefined;
}
}
return node[path[i]];
};
});