mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Remove pdf.mjs patch
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
diff --git a/toolkit/components/pdfjs/content/build/pdf.mjs b/toolkit/components/pdfjs/content/build/pdf.mjs
|
||||
index 9798d4f8f9473eac434ff1a521b3728bea436723..144d42b2830a7d9eb345db18a018cd8741753c3c 100644
|
||||
--- a/toolkit/components/pdfjs/content/build/pdf.mjs
|
||||
+++ b/toolkit/components/pdfjs/content/build/pdf.mjs
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
/******/ // The require scope
|
||||
/******/ var __webpack_require__ = {};
|
||||
-/******/
|
||||
+/******/
|
||||
/************************************************************************/
|
||||
/******/ /* webpack/runtime/define property getters */
|
||||
/******/ (() => {
|
||||
@@ -35,12 +35,12 @@
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/ })();
|
||||
-/******/
|
||||
+/******/
|
||||
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
||||
/******/ (() => {
|
||||
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
||||
/******/ })();
|
||||
-/******/
|
||||
+/******/
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = globalThis.pdfjsLib = {};
|
||||
|
||||
@@ -18593,7 +18593,7 @@ class StampEditor extends AnnotationEditor {
|
||||
AnnotationEditor.initialize(l10n, uiManager);
|
||||
}
|
||||
static get supportedTypes() {
|
||||
- const types = ["apng", "avif", "bmp", "gif", "jpeg", "png", "svg+xml", "webp", "x-icon"];
|
||||
+ const types = ["apng", "avif", "bmp", "gif", "jpeg", "jxl", "png", "svg+xml", "webp", "x-icon"];
|
||||
return shadow(this, "supportedTypes", types.map(type => `image/${type}`));
|
||||
}
|
||||
static get supportedTypesStr() {
|
Reference in New Issue
Block a user