feat: 补全内部引入方法的参数

This commit is contained in:
coding 2018-05-14 16:42:35 +00:00
parent 8df9ad9ec7
commit 423c7cc844

View File

@ -42,7 +42,7 @@
// 初始化加载器 // 初始化加载器
global.require = engineLoad(root + '/core/require.js')(root); global.require = engineLoad(root + '/core/require.js')(root);
global.requireInternal = function requireInternal(name) { global.requireInternal = function requireInternal(name) {
return require(root + '/internal/' + DetectServerType + '/' + name + '.js'); return require(root + '/internal/' + DetectServerType + '/' + name + '.js', arguments[1]);
} }
} }