shithub: opossum

ref: 36ab9e8b4b71c5af9808b48abdbc114a70136dcb
dir: opossum/domino-lib/CustomEvent.js

View raw version
"use strict";
module.exports = CustomEvent;

var Event = require('./Event');

function CustomEvent(type, dictionary) {
  // Just use the superclass constructor to initialize
  Event.call(this, type, dictionary);
}
CustomEvent.prototype = Object.create(Event.prototype, {
  constructor: { value: CustomEvent }
});