{"dojo.hostenv_spidermonkey":{"meta":{"functions":{"dojo.hostenv.exit":{"meta":{"summary":"","parameters":{"exitcode":{"type":""}},"src":" quit(exitcode); "}},"dojo.hostenv.getVersion":{"meta":{"summary":"","src":" ojo.hostenv.getVersion = function(){ return version();   "}},"dj_spidermonkey_current_file":{"meta":{"summary":"","parameters":{"depth":{"type":""}},"src":"    var s = '';\n    try{\n\t\tthrow Error(\"whatever\");\n\t}catch(e){\n\t\ts = e.stack;\n\t}\n    \/\/ lines are like: bu_getCurrentScriptURI_spidermonkey(\"ScriptLoader.js\")@burst\/Runtime.js:101\n    var matches = s.match(\/[^@]*\\.js\/gi);\n    if(!matches){ \n\t\tdojo.raise(\"could not parse stack string: '\" + s + \"'\");\n\t}\n    var fname = (typeof depth != 'undefined' && depth) ? matches[depth + 1] : matches[matches.length - 1];\n    if(!fname){ \n\t\tdojo.raise(\"could not find file name in stack string '\" + s + \"'\");\n\t}\n    \/\/print(\"SpiderMonkeyRuntime got fname '\" + fname + \"' from stack string '\" + s + \"'\");\n    return fname;"}},"dojo.hostenv.loadUri":{"meta":{"summary":"","parameters":{"uri":{"type":""}},"src":" var ok = load(uri);\n\t\/\/ dojo.debug(\"spidermonkey load(\", uri, \") returned \", ok);\n\treturn 1;"}}}}}}