[adapters] 增加小游戏适配部分源码

This commit is contained in:
SmallMain
2024-10-16 17:12:08 +08:00
parent 887d4a96c9
commit 07bf3b7a96
345 changed files with 38447 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/* eslint-disable */
import { noop } from './util/index.js'
export default class Event {
constructor(type) {
this.cancelBubble = false
this.cancelable = false
this.target = null
this.currentTarget = null
this.preventDefault = noop
this.stopPropagation = noop
this.type = type
this.timeStamp = Date.now()
}
}