add: dojo.debug("DEPRECATED: We now use dojo 0.4.1 with namespace registration, please see the samples."); 
context: (function() {    // base path is "resources/dojo". Move to back to "resources"    var rsrcPath = "../";      // cocoon.foo.bar is loaded from "resources/foo/js/bar.js"    var orgRequire = dojo.require;    dojo.require = function() {        var module = arguments[0];        var match = module.match(/^(cocoon\.([^\.]*))/);        if (match) {            var block = match[1];            var name = match[2];            if (dojo.hostenv.getModulePrefix(block) == block) {                // Register the block's path                //dojo.debug("Registering Cocoon module = " + arguments[0]);                var prefix = rsrcPath + name + "/js";                dojo.hostenv.setModulePrefix(block, prefix);                           //dojo.debug("calling setModulePrefix("+block+", "+ prefix +")");            }        }        // Continue normal processing        return orgRequire.apply(this, arguments);    };    // cocoon.foo (single JS file for a block) is loaded from "resources/foo/js/common.js"    var orgLoadUri = dojo.hostenv.loadUri;    dojo.hostenv.loadUri = function(uri) {        // match 'xxx/dojo/../yyy/js.js        var match = uri.match(/^(.*)\/dojo\/\.\.\/([^\/]*)\/js.js$/);        dojo.debug("Loading URI" + uri);        if (match) {            //dojo.debug("matched cocoon package " + uri);            arguments[0] = match[1] + "/" + match[2] + "/js/common.js";            //dojo.debug("arg " + arguments[0]);                    }        return orgLoadUri.apply(this, arguments);    }})();
meta: 1201	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1201/7826366b3d926533ef8980e82c454cc60331de48/cocoon.js/clean/blocks/cocoon-ajax/cocoon-ajax-impl/src/main/resources/org/apache/cocoon/ajax/resources/cocoon.js