open source

This commit is contained in:
lvfulong
2020-11-11 16:17:13 +08:00
parent 4d989f3ecb
commit bc4ca748de
2441 changed files with 623057 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
/*
假装自己是nodejs
*/
function _process(){
this.pid=0;
this.cwd=function(){
return 'd:/temp';
}
this.mainModule = 'index.js';
this.argv=['conch.exe','index.js'];
this.version='1.3.1';
this._require=function(f){console.log('process require('+f+')');return function nop(){};}; //不能真的load
this._debugObject={};
}
window.process = new _process();