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

Version Path
c80_map_floors-0.2.2 app/assets/javascripts/events/app_event.js
c80_map_floors-0.2.1 app/assets/javascripts/events/app_event.js
c80_map_floors-0.2.0.8 app/assets/javascripts/events/app_event.js
c80_map_floors-0.2.0.7 app/assets/javascripts/events/app_event.js
c80_map_floors-0.2.0.6 app/assets/javascripts/events/app_event.js
c80_map_floors-0.2.0.5 app/assets/javascripts/events/app_event.js
c80_map_floors-0.2.0.4 app/assets/javascripts/events/app_event.js
c80_map_floors-0.2.0.3 app/assets/javascripts/events/app_event.js
c80_map_floors-0.2.0.2 app/assets/javascripts/events/app_event.js
c80_map_floors-0.2.0.1 app/assets/javascripts/events/app_event.js
c80_map_floors-0.2.0.0 app/assets/javascripts/events/app_event.js
c80_map_floors-0.1.0.25 app/assets/javascripts/events/app_event.js
c80_map_floors-0.1.0.24 app/assets/javascripts/events/app_event.js
c80_map_floors-0.1.0.23 app/assets/javascripts/events/app_event.js
c80_map_floors-0.1.0.22 app/assets/javascripts/events/app_event.js
c80_map_floors-0.1.0.21 app/assets/javascripts/events/app_event.js
c80_map_floors-0.1.0.20 app/assets/javascripts/events/app_event.js
c80_map_floors-0.1.0.19 app/assets/javascripts/events/app_event.js
c80_map_floors-0.1.0.18 app/assets/javascripts/events/app_event.js
c80_map_floors-0.1.0.17 app/assets/javascripts/events/app_event.js