1 var Class = require('../../../lib/mootools/mootools-node.js').Class; 2 3 /** 4 * @class Event 5 * @requires Class 6 * 7 * @param {String} type 8 * @param {Object} data 9 * @param {EventDispatcher} target 10 */ 11 var Event = function(){ 12 13 /** 14 * @property {String} type 15 */ 16 this.type = undefined; 17 18 /** 19 * @property {EventDispatcher} target 20 */ 21 this.target = null; 22 23 /** 24 * @property {Object} data 25 */ 26 this.data = null; 27 28 /** @ignore */ 29 this.initialize = function(type, data, target){ 30 this.type = type; 31 this.data = data; 32 this.target = target; 33 }; 34 }; 35 36 Event = new Class(new Event()); 37 exports.Event = Event; 38