Sha256: ba4858f16184f399804875b8143ff4578d31b613df97d33465d83a3f59debcd1
Contents?: true
Size: 477 Bytes
Versions: 34
Compression:
Stored size: 477 Bytes
Contents
'use strict'; function Event(eventType) { this.type = eventType; } Event.prototype.initEvent = function(eventType, canBubble, cancelable) { this.type = eventType; this.bubbles = canBubble; this.cancelable = cancelable; this.timeStamp = +new Date(); return this; }; Event.prototype.stopPropagation = function() {}; Event.prototype.preventDefault = function() {}; Event.CAPTURING_PHASE = 1; Event.AT_TARGET = 2; Event.BUBBLING_PHASE = 3; module.exports = Event;
Version data entries
34 entries across 33 versions & 12 rubygems