Sha256: 67c7bc6f3f8c87fc405d8f271d19f70072dddf87647bacb8ad0b41309d9527f8
Contents?: true
Size: 381 Bytes
Versions: 19
Compression:
Stored size: 381 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
19 entries across 19 versions & 2 rubygems