hexo/node_modules/domexception/index.js

8 lines
264 B
JavaScript

"use strict";
const DOMException = require("./webidl2js-wrapper.js");
const sharedGlobalObject = { Array, Error, Object, Promise, String, TypeError };
DOMException.install(sharedGlobalObject, ["Window"]);
module.exports = sharedGlobalObject.DOMException;