Sha256: c46aa1cc39bb6b3ec3aa29a6f4992411cae995fc75be7c64b6d7a9d8052800e2
Contents?: true
Size: 520 Bytes
Versions: 29
Compression:
Stored size: 520 Bytes
Contents
'use strict'; 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
29 entries across 28 versions & 9 rubygems