公告板
版本库
filestore
活动
搜索
登录
template
/
start_app
学习APP程序
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
first commit
cshenfu
2024-06-27
58aa6e282bb343503be3cb198948328ea3ed7b79
[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');
}