| 1 | "use strict"; |
| 2 | module.exports = CustomEvent; |
| 3 | |
| 4 | var Event = require('./Event'); |
| 5 | |
| 6 | function CustomEvent(type, dictionary) { |
| 7 | // Just use the superclass constructor to initialize |
| 8 | Event.call(this, type, dictionary); |
| 9 | } |
| 10 | CustomEvent.prototype = Object.create(Event.prototype, { |
| 11 | constructor: { value: CustomEvent } |
| 12 | }); |