mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
38c0ed4f95
* add wechatprogram platform support
30 lines
654 B
JavaScript
Executable File
30 lines
654 B
JavaScript
Executable File
// app.js
|
|
App({
|
|
GameGlobal: {
|
|
screencanvas: undefined,
|
|
canvas: undefined,
|
|
System: undefined,
|
|
Image: undefined,
|
|
cc: undefined,
|
|
CocosEngine: undefined,
|
|
ccwindow: undefined,
|
|
fsUtils: undefined,
|
|
document: undefined,
|
|
requestAnimationFrame: undefined,
|
|
cancelAnimationFrame: undefined,
|
|
Image: undefined,
|
|
ImageBitmap: undefined,
|
|
XMLHttpRequest: undefined,
|
|
WebSocket: undefined,
|
|
DOMParser: undefined,
|
|
WebAssembly: undefined,
|
|
WXWebAssembly: undefined,
|
|
_touchStart: undefined,
|
|
_touchMove: undefined,
|
|
_touchEnd: undefined,
|
|
_touchCancel: undefined,
|
|
},
|
|
onLaunch() {
|
|
},
|
|
})
|