difenduandada
2024-12-31 34abe6963b344c882358274957f4b992456fee40
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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'];