bundles/org.eclipse.orion.client.ui/web/plugins/samples/largeFileSearch/require.js
function getGlobal(value) {
        if (!value) {
            return value;
        }
        var g = global;
        each(value.split('.'), function (part) {
            g = g[part];
        });
        return g;
    }
function getGlobal(value) {
        if (!value) {
            return value;
        }
        var g = global;
        each(value.split('.'), function (part) {
            g = g[part];
        });
        return g;
    }
function getGlobal ( value ) { if ( ! value ) { return value ; } var g = global ; each ( value . split ( '.' ) , function ( part ) { g = g [ part ] ; } ) ; return g ; }
Allow getting a global that expressed in dot notation, like 'a.b.c'.
Allow getting a global that expressed in dot notation like a . b . c .