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

META-INF.resources.bower_components.cldrjs.src.resource.get.js Maven / Gradle / Ivy

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]];
    };

});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy