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

Version Path
learn_create-0.0.22 lib/templates/javascript_lab_template/node_modules/jsdom/lib/jsdom/living/xmlhttprequest-event-target.js
lanes-0.8.0 node_modules/jsdom/lib/jsdom/living/xmlhttprequest-event-target.js
select_all-rails-0.3.1 node_modules/jsdom/lib/jsdom/living/xmlhttprequest-event-target.js