|
|
@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.2.70'; |
|
|
|
PDFJS.version = '1.2.73'; |
|
|
|
PDFJS.build = '9e66625'; |
|
|
|
PDFJS.build = '1e0bd07'; |
|
|
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
(function pdfjsWrapper() { |
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
@ -1690,7 +1690,9 @@ PDFJS.disableWorker = (PDFJS.disableWorker === undefined ? |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Path and filename of the worker file. Required when the worker is enabled in |
|
|
|
* Path and filename of the worker file. Required when the worker is enabled in |
|
|
|
* development mode. If unspecified in the production build, the worker will be |
|
|
|
* development mode. If unspecified in the production build, the worker will be |
|
|
|
* loaded based on the location of the pdf.js file. |
|
|
|
* loaded based on the location of the pdf.js file. It is recommended that |
|
|
|
|
|
|
|
* the workerSrc is set in a custom application to prevent issues caused by |
|
|
|
|
|
|
|
* third-party frameworks and libraries. |
|
|
|
* @var {string} |
|
|
|
* @var {string} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
PDFJS.workerSrc = (PDFJS.workerSrc === undefined ? null : PDFJS.workerSrc); |
|
|
|
PDFJS.workerSrc = (PDFJS.workerSrc === undefined ? null : PDFJS.workerSrc); |
|
|
@ -46410,10 +46412,8 @@ if (!PDFJS.workerSrc && typeof document !== 'undefined') { |
|
|
|
// workerSrc is not set -- using last script url to define default location
|
|
|
|
// workerSrc is not set -- using last script url to define default location
|
|
|
|
PDFJS.workerSrc = (function () { |
|
|
|
PDFJS.workerSrc = (function () { |
|
|
|
'use strict'; |
|
|
|
'use strict'; |
|
|
|
var scriptTagContainer = document.body || |
|
|
|
var pdfJsSrc = document.currentScript.src; |
|
|
|
document.getElementsByTagName('head')[0]; |
|
|
|
return pdfJsSrc && pdfJsSrc.replace(/\.js$/i, '.worker.js'); |
|
|
|
var pdfjsSrc = scriptTagContainer.lastChild.src; |
|
|
|
|
|
|
|
return pdfjsSrc && pdfjsSrc.replace(/\.js$/i, '.worker.js'); |
|
|
|
|
|
|
|
})(); |
|
|
|
})(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|