backbone-baseview.js
function (str) {
        var arr = str.split('.');
        var obj = root[arr.shift()];

        while (arr.length && obj) {
            obj = obj[arr.shift()];
        }
        return obj;
    }
function (str) {
        var arr = str.split('.');
        var obj = root[arr.shift()];

        while (arr.length && obj) {
            obj = obj[arr.shift()];
        }
        return obj;
    }
function ( str ) { var arr = str . split ( '.' ) ; var obj = root [ arr . shift ( ) ] ; while ( arr . length && obj ) { obj = obj [ arr . shift ( ) ] ; } return obj ; }
Finds globally dot noted namespaced objects from a string
Finds globally dot noted namespaced objects from a string