公告板
版本库
filestore
活动
搜索
登录
template
/
start_app
学习APP程序
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
first commit
cshenfu
2024-05-21
09d8c671d5e6e6045677bfb5218a5fb78c26aa0f
[template/start_app.git]
/
uniCloud-aliyun
/
cloudfunctions
/
router
/
node_modules
/
httpx
/
node_modules
/
debug
/
src
/
index.js
1
2
3
4
5
6
7
8
9
10
/**
* Detect Electron renderer / nwjs process, which is node, but we should
* treat as a browser.
*/
if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
module.exports = require('./browser.js');
} else {
module.exports = require('./node.js');
}