1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #14645 from Snuffleupagus/Node-DOMMatrix-polyfill

[api-minor] Remove the, in `legacy` builds, bundled `DOMMatrix` polyfill
This commit is contained in:
Tim van der Meij 2022-03-09 20:38:26 +01:00 committed by GitHub
commit e85bb0b599
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -50,7 +50,9 @@ if (
if (globalThis.DOMMatrix || !isNodeJS) {
return;
}
globalThis.DOMMatrix = require("dommatrix/dist/dommatrix.js");
globalThis.DOMMatrix = __non_webpack_require__(
"dommatrix/dist/dommatrix.js"
);
})();
// Provides support for *recent* additions to the Promise specification,