mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-10-09 01:35:27 +00:00
[adapters] 增加小游戏适配部分源码
This commit is contained in:
9
adapters/common/engine/globalAdapter/index.js
Normal file
9
adapters/common/engine/globalAdapter/index.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const adapter = window.__globalAdapter;
|
||||
|
||||
Object.assign(adapter, {
|
||||
adaptSys: require('./BaseSystemInfo'),
|
||||
|
||||
adaptView: require('./View'),
|
||||
|
||||
adaptContainerStrategy: require('./ContainerStrategy'),
|
||||
});
|
Reference in New Issue
Block a user