Initial commit.

This commit is contained in:
genxium
2022-09-20 23:50:01 +08:00
commit e90a335c56
432 changed files with 101884 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;
var _util = require('./util');
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Event = function Event(type) {
_classCallCheck(this, Event);
this.cancelBubble = false;
this.cancelable = false;
this.target = null;
this.timestampe = Date.now();
this.preventDefault = _util.noop;
this.stopPropagation = _util.noop;
this.type = type;
};
exports.default = Event;
module.exports = exports['default'];