This commit is contained in:
Peter Maquiran
2021-10-27 14:42:10 +01:00
parent 7882f76d54
commit 934c998cde
25 changed files with 116 additions and 62 deletions
+2 -8
View File
@@ -20,7 +20,7 @@
* Javascript code in this page
*/
(function webpackUniversalModuleDefinition(root, factory) {
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
@@ -9928,8 +9928,6 @@ function getDocument(src) {
source = src;
}
console.log('source================================================', source)
var params = Object.create(null);
var rangeTransport = null,
worker = null;
@@ -10002,9 +10000,7 @@ function getDocument(src) {
}
(0, _util.setVerbosityLevel)(params.verbosity);
console.log('params=======================', params)
if (!worker) {
var workerParams = {
verbosity: params.verbosity,
@@ -10016,8 +10012,6 @@ function getDocument(src) {
var docId = task.docId;
worker.promise.then(function () {
if (task.destroyed) {
throw new Error('Loading aborted');
}