|
@@ -11639,7 +11639,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
|
|
|
if (worker.destroyed) {
|
|
|
return Promise.reject(new Error('Worker was destroyed'));
|
|
|
}
|
|
|
- var apiVersion = '2.0.118';
|
|
|
+ var apiVersion = '2.0.120';
|
|
|
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
|
|
|
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
|
|
|
source.chunkedViewerLoading = !!pdfDataRangeTransport;
|
|
@@ -12915,8 +12915,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
|
|
|
}();
|
|
|
var version, build;
|
|
|
{
|
|
|
- exports.version = version = '2.0.118';
|
|
|
- exports.build = build = 'f9a05154';
|
|
|
+ exports.version = version = '2.0.120';
|
|
|
+ exports.build = build = 'e162df59';
|
|
|
}
|
|
|
exports.getDocument = getDocument;
|
|
|
exports.LoopbackPort = LoopbackPort;
|
|
@@ -26906,8 +26906,8 @@ exports.SVGGraphics = SVGGraphics;
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
-var pdfjsVersion = '2.0.118';
|
|
|
-var pdfjsBuild = 'f9a05154';
|
|
|
+var pdfjsVersion = '2.0.120';
|
|
|
+var pdfjsBuild = 'e162df59';
|
|
|
var pdfjsSharedUtil = __w_pdfjs_require__(0);
|
|
|
var pdfjsDisplayGlobal = __w_pdfjs_require__(129);
|
|
|
var pdfjsDisplayAPI = __w_pdfjs_require__(64);
|
|
@@ -27369,31 +27369,6 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
|
|
|
}
|
|
|
}
|
|
|
})();
|
|
|
- (function checkRequestAnimationFrame() {
|
|
|
- function installFakeAnimationFrameFunctions() {
|
|
|
- window.requestAnimationFrame = function (callback) {
|
|
|
- return window.setTimeout(callback, 20);
|
|
|
- };
|
|
|
- window.cancelAnimationFrame = function (timeoutID) {
|
|
|
- window.clearTimeout(timeoutID);
|
|
|
- };
|
|
|
- }
|
|
|
- if (!hasDOM) {
|
|
|
- return;
|
|
|
- }
|
|
|
- if (isIOS) {
|
|
|
- installFakeAnimationFrameFunctions();
|
|
|
- return;
|
|
|
- }
|
|
|
- if ('requestAnimationFrame' in window) {
|
|
|
- return;
|
|
|
- }
|
|
|
- window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame;
|
|
|
- if (window.requestAnimationFrame) {
|
|
|
- return;
|
|
|
- }
|
|
|
- installFakeAnimationFrameFunctions();
|
|
|
- })();
|
|
|
(function checkCanvasSizeLimitation() {
|
|
|
if (isIOS || isAndroid) {
|
|
|
PDFJS.maxCanvasPixels = 5242880;
|
|
@@ -32507,8 +32482,8 @@ if (!_global_scope2.default.PDFJS) {
|
|
|
}
|
|
|
var PDFJS = _global_scope2.default.PDFJS;
|
|
|
{
|
|
|
- PDFJS.version = '2.0.118';
|
|
|
- PDFJS.build = 'f9a05154';
|
|
|
+ PDFJS.version = '2.0.120';
|
|
|
+ PDFJS.build = 'e162df59';
|
|
|
}
|
|
|
PDFJS.pdfBug = false;
|
|
|
if (PDFJS.verbosity !== undefined) {
|
|
@@ -35437,7 +35412,7 @@ var WorkerMessageHandler = {
|
|
|
var cancelXHRs = null;
|
|
|
var WorkerTasks = [];
|
|
|
var apiVersion = docParams.apiVersion;
|
|
|
- var workerVersion = '2.0.118';
|
|
|
+ var workerVersion = '2.0.120';
|
|
|
if (apiVersion !== null && apiVersion !== workerVersion) {
|
|
|
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
|
|
|
}
|