Sha256: 370e8114d2c1482d7afa6ee2a37637d89a2885a8a6dd0df9d784f8905c6fa8d9
Contents?: true
Size: 640 Bytes
Versions: 3
Compression:
Stored size: 640 Bytes
Contents
"use strict"; const EventTarget = require("./generated/EventTarget"); function XMLHttpRequestEventTarget() { if (!(this instanceof XMLHttpRequestEventTarget)) { throw new TypeError("DOM object constructor cannot be called as a function."); } EventTarget.setup(this); this.onabort = null; this.onerror = null; this.onload = null; this.onloadend = null; this.onloadstart = null; this.onprogress = null; this.ontimeout = null; } XMLHttpRequestEventTarget.prototype = Object.create(EventTarget.interface.prototype); module.exports = function (core) { core.XMLHttpRequestEventTarget = XMLHttpRequestEventTarget; };
Version data entries
3 entries across 3 versions & 3 rubygems