Sha256: c0a891e787d8aa64d6029d2e4e2d6dbf45f5b7b5de2d45eaec81924a251a898c

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

"use strict";

module.exports = function (core) {
  const XMLHttpRequestEventTarget = core.XMLHttpRequestEventTarget;

  class XMLHttpRequestUpload extends XMLHttpRequestEventTarget {
    constructor() {
      super();
      if (!(this instanceof XMLHttpRequestUpload)) {
        throw new TypeError("DOM object constructor cannot be called as a function.");
      }
    }
  }

  core.XMLHttpRequestUpload = XMLHttpRequestUpload;
};

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-upload.js
lanes-0.8.0 node_modules/jsdom/lib/jsdom/living/xmlhttprequest-upload.js
select_all-rails-0.3.1 node_modules/jsdom/lib/jsdom/living/xmlhttprequest-upload.js