@ -11612,7 +11612,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
@@ -11612,7 +11612,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if ( worker . destroyed ) {
return Promise . reject ( new Error ( 'Worker was destroyed' ) ) ;
}
var apiVersion = '2.0.252 ' ;
var apiVersion = '2.0.254 ' ;
source . disableRange = ( 0 , _dom _utils . getDefaultSetting ) ( 'disableRange' ) ;
source . disableAutoFetch = ( 0 , _dom _utils . getDefaultSetting ) ( 'disableAutoFetch' ) ;
source . disableStream = ( 0 , _dom _utils . getDefaultSetting ) ( 'disableStream' ) ;
@ -11830,12 +11830,13 @@ var PDFPageProxy = function PDFPageProxyClosure() {
@@ -11830,12 +11830,13 @@ var PDFPageProxy = function PDFPageProxyClosure() {
get view ( ) {
return this . pageInfo . view ;
} ,
getViewport : function PDFPageProxy _ getViewport( scale , rotat e ) {
if ( arguments . length < 2 ) {
rotate = this . rotat e ;
}
return new _util . PageViewport ( this . view , scale , rotate , 0 , 0 ) ;
getViewport : function getViewport ( scale ) {
var rotate = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : this . rotate ;
var dontFlip = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : fals e;
return new _util . PageViewport ( this . view , scale , rotate , 0 , 0 , dontFlip ) ;
} ,
getAnnotations : function PDFPageProxy _getAnnotations ( params ) {
var intent = params && params . intent || null ;
if ( ! this . annotationsPromise || this . annotationsIntent !== intent ) {
@ -12903,8 +12904,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -12903,8 +12904,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
} ( ) ;
var version , build ;
{
exports . version = version = '2.0.252 ' ;
exports . build = build = 'a3b2456 c' ;
exports . version = version = '2.0.254 ' ;
exports . build = build = '915e3f4 c' ;
}
exports . getDocument = getDocument ;
exports . LoopbackPort = LoopbackPort ;
@ -26687,8 +26688,8 @@ exports.SVGGraphics = SVGGraphics;
@@ -26687,8 +26688,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict" ;
var pdfjsVersion = '2.0.252 ' ;
var pdfjsBuild = 'a3b2456 c' ;
var pdfjsVersion = '2.0.254 ' ;
var pdfjsBuild = '915e3f4 c' ;
var pdfjsSharedUtil = _ _w _pdfjs _require _ _ ( 0 ) ;
var pdfjsDisplayGlobal = _ _w _pdfjs _require _ _ ( 131 ) ;
var pdfjsDisplayAPI = _ _w _pdfjs _require _ _ ( 65 ) ;
@ -31867,8 +31868,8 @@ if (!_global_scope2.default.PDFJS) {
@@ -31867,8 +31868,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global _scope2 . default . PDFJS ;
{
PDFJS . version = '2.0.252 ' ;
PDFJS . build = 'a3b2456 c' ;
PDFJS . version = '2.0.254 ' ;
PDFJS . build = '915e3f4 c' ;
}
PDFJS . pdfBug = false ;
if ( PDFJS . verbosity !== undefined ) {
@ -35229,7 +35230,7 @@ var WorkerMessageHandler = {
@@ -35229,7 +35230,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null ;
var WorkerTasks = [ ] ;
var apiVersion = docParams . apiVersion ;
var workerVersion = '2.0.252 ' ;
var workerVersion = '2.0.254 ' ;
if ( apiVersion !== null && apiVersion !== workerVersion ) {
throw new Error ( 'The API version "' + apiVersion + '" does not match ' + ( 'the Worker version "' + workerVersion + '".' ) ) ;
}