Sha256: 112ac2d7556a9d399eb64aff470620a1439a9008f7553af0eee59214c89771b6
Contents?: true
Size: 505 Bytes
Versions: 32
Compression:
Stored size: 505 Bytes
Contents
var Event = function(eventType, options) { this.type = eventType; for (var key in options) this[key] = options[key]; }; Event.prototype.initEvent = function(eventType, canBubble, cancelable) { this.type = eventType; this.bubbles = canBubble; this.cancelable = cancelable; }; 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
32 entries across 27 versions & 12 rubygems