1 |
- var d={exports:{}},n=d.exports={};n.nextTick=function(){var r=typeof window!="undefined"&&window.setImmediate,i=typeof window!="undefined"&&window.postMessage&&window.addEventListener;if(r)return function(e){return window.setImmediate(e)};if(i){var o=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||t===null)&&e.data==="process-tick"&&(e.stopPropagation(),o.length>0)){var s=o.shift();s()}},!0),function(t){o.push(t),window.postMessage("process-tick","*")}}return function(t){setTimeout(t,0)}}();n.title="browser";n.browser=!0;n.env={};n.argv=[];n.binding=function(r){throw new Error("process.binding is not supported")};n.cwd=function(){return"/"};n.chdir=function(r){throw new Error("process.chdir is not supported")};export{d as b};
|