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

Version Path
c80_map-0.1.0.24 app/assets/javascripts/events/app_event.js
c80_map_floors-0.1.0.1 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.23 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.22 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.21 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.20 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.19 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.18 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.17 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.16 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.15 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.14 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.13 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.12 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.11 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.10 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.2 app/assets/javascripts/events/app_event.js
c80_map-0.1.0.1 app/assets/javascripts/events/app_event.js
c80_map-0.1.0 app/assets/javascripts/events/app_event.js