Skip to content

Commit

Permalink
fixup! fixup! fixup! Update PDF.js to v3.11.174
Browse files Browse the repository at this point in the history
  • Loading branch information
tamuratak committed Sep 27, 2023
1 parent 9a823ce commit 2e78a91
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dev/viewer/viewer.html.diff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- ../tmp/pdfjs-3.10/web/viewer.html 2023-08-27 17:53:36.000000000 +0900
+++ viewer/viewer.html 2023-09-02 10:03:30.000000000 +0900
--- ../tmp/pdfjs-3.11/web/viewer.html 2023-09-24 19:37:10.000000000 +0900
+++ viewer/viewer.html 2023-09-28 07:53:48.000000000 +0900
@@ -25,18 +25,25 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
Expand Down
20 changes: 10 additions & 10 deletions dev/viewer/viewer.js.diff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- ../tmp/pdfjs-3.10/web/viewer.js 2023-08-27 17:53:52.000000000 +0900
+++ viewer/viewer.js 2023-09-02 10:04:39.000000000 +0900
--- ../tmp/pdfjs-3.11/web/viewer.js 2023-09-24 19:37:24.000000000 +0900
+++ viewer/viewer.js 2023-09-28 07:56:46.000000000 +0900
@@ -43,10 +43,10 @@
exports.GenericCom = GenericCom;
class GenericPreferences extends _preferences.BasePreferences {
Expand All @@ -13,7 +13,7 @@
}
}
class GenericExternalServices extends _app.DefaultExternalServices {
@@ -680,7 +680,7 @@
@@ -683,7 +683,7 @@
title = url;
}
}
Expand All @@ -22,7 +22,7 @@
},
setTitle(title = this._title) {
this._title = title;
@@ -4889,7 +4889,7 @@
@@ -5155,7 +5155,7 @@
};
exports.FindState = FindState;
const FIND_TIMEOUT = 250;
Expand All @@ -31,7 +31,7 @@
const MATCH_SCROLL_OFFSET_LEFT = -400;
const CHARACTERS_TO_NORMALIZE = {
"\u2010": "-",
@@ -7489,7 +7489,7 @@
@@ -7755,7 +7755,7 @@
this.#dispatchEvent();
return;
}
Expand All @@ -40,7 +40,7 @@
if (!this.isInitialEventDispatched) {
this.#dispatchEvent();
}
@@ -8387,7 +8387,7 @@
@@ -8655,7 +8655,7 @@
this.#annotationEditorMode = options.annotationEditorMode ?? _pdfjsLib.AnnotationEditorType.NONE;
this.imageResourcesPath = options.imageResourcesPath || "";
this.enablePrintAutoRotate = options.enablePrintAutoRotate || false;
Expand All @@ -49,7 +49,7 @@
if (options.useOnlyCssZoom) {
console.error("useOnlyCssZoom was removed, please use `maxCanvasPixels = 0` instead.");
options.maxCanvasPixels = 0;
@@ -12232,10 +12232,10 @@
@@ -12516,10 +12516,10 @@
}
async _writeToStorage() {
const databaseStr = JSON.stringify(this.database);
Expand All @@ -62,7 +62,7 @@
}
async set(name, val) {
await this._initializedPromise;
@@ -13081,7 +13081,7 @@
@@ -13365,7 +13365,7 @@
function getL10nData(key, args, fallback) {
var data = gL10nData[key];
if (!data) {
Expand All @@ -71,7 +71,7 @@
if (!fallback) {
return null;
}
@@ -13517,6 +13517,9 @@
@@ -13801,6 +13801,9 @@
}
window.addEventListener("keydown", function (event) {
if (event.keyCode === 80 && (event.ctrlKey || event.metaKey) && !event.altKey && (!event.shiftKey || window.chrome || window.opera)) {
Expand All @@ -81,7 +81,7 @@
window.print();
event.preventDefault();
event.stopImmediatePropagation();
@@ -13789,7 +13792,7 @@
@@ -14081,7 +14084,7 @@
try {
parent.document.dispatchEvent(event);
} catch (ex) {
Expand Down

0 comments on commit 2e78a91

Please sign in to comment.