1 var Event = function(eventType, options) {
3 for (var key in options)
4 this[key] = options[key];
7 Event.prototype.initEvent = function(eventType, canBubble, cancelable) {
9 this.bubbles = canBubble;
10 this.cancelable = cancelable;
13 Event.prototype.stopPropagation = function() {};
14 Event.prototype.preventDefault = function() {};
16 Event.CAPTURING_PHASE = 1;
18 Event.BUBBLING_PHASE = 3;
20 module.exports = Event;