版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

XMLHttpRequestEventTarget.js 799 B

пре 1 година
1234567891011121314151617181920212223
  1. "use strict";
  2. var __importDefault = (this && this.__importDefault) || function (mod) {
  3. return (mod && mod.__esModule) ? mod : { "default": mod };
  4. };
  5. Object.defineProperty(exports, "__esModule", { value: true });
  6. const EventTarget_1 = __importDefault(require("../event/EventTarget"));
  7. /**
  8. * References: https://xhr.spec.whatwg.org/#xmlhttprequesteventtarget.
  9. */
  10. class XMLHttpRequestEventTarget extends EventTarget_1.default {
  11. constructor() {
  12. super(...arguments);
  13. this.onloadstart = null;
  14. this.onprogress = null;
  15. this.onabort = null;
  16. this.onerror = null;
  17. this.onload = null;
  18. this.ontimeout = null;
  19. this.onloadend = null;
  20. }
  21. }
  22. exports.default = XMLHttpRequestEventTarget;
  23. //# sourceMappingURL=XMLHttpRequestEventTarget.js.map