feat: define XMLHttpRequest
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
c859605738
commit
31351fc393
@ -9,6 +9,7 @@
|
|||||||
throw new Error('Internal engine system not allow use `load` function!');
|
throw new Error('Internal engine system not allow use `load` function!');
|
||||||
};
|
};
|
||||||
// Init console and require
|
// Init console and require
|
||||||
|
global.XMLHttpRequest = undefined;
|
||||||
global.console = engineLoad(global.root + '/core/console.js')(logger);
|
global.console = engineLoad(global.root + '/core/console.js')(logger);
|
||||||
global.require = engineLoad(global.root + '/core/require.js')(root);
|
global.require = engineLoad(global.root + '/core/require.js')(root);
|
||||||
// String contains ployfill
|
// String contains ployfill
|
||||||
|
Loading…
Reference in New Issue
Block a user