Sha256: d2c1672df7c60c209553b57a2a8b8ddd76df62c98c640acc445b5f645612baef
Contents?: true
Size: 383 Bytes
Versions: 35
Compression:
Stored size: 383 Bytes
Contents
/* AppEvent constructor */ function AppEvent(target, eventType, func) { //console.log("<AppEvent.new> target = " + target); this.target = target; this.eventType = eventType; this.func = func; target.addEventListener(eventType, func, false); } AppEvent.prototype.remove = function () { this.target.removeEventListener(this.eventType, this.func, false); };
Version data entries
35 entries across 35 versions & 1 rubygems