blob: a4850a26ed63ca434343a9101f240f9f4931f92d [file] [log] [blame]
var self=Object.create(global);self.location={href:"file://"+function(){var e=process.cwd();return"win32"!=process.platform?e:"/"+e.replace("\\","/")}()+"/"},self.scheduleImmediate=setImmediate,self.require=require,self.exports=exports,self.process=process,function(){function e(){try{throw new Error}catch(e){var r=e.stack,t=new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$","mg"),l=null;do{var c=t.exec(r);null!=c&&(l=c)}while(null!=c);return l[1]}}var r=null;self.document={get currentScript(){return null==r&&(r={src:e()}),r}}}(),self.dartDeferredLibraryLoader=function(e,r,t){try{load(e),r()}catch(l){t(l)}};