urltomarkdown/node_modules/domino/lib/CustomEvent.js

13 lines
313 B
JavaScript
Raw Normal View History

2022-01-08 17:05:05 +00:00
"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 }
});