@ -11639,7 +11639,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
@@ -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() {
@@ -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;
@@ -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) {
@@ -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) {
@@ -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 = {
@@ -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 + '".' ) ) ;
}