Initial commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
"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 }
|
||||
});
|
||||
Reference in New Issue
Block a user