@ -3254,16 +3254,11 @@ var StatTimer = function () {
@@ -3254,16 +3254,11 @@ var StatTimer = function () {
_classCallCheck ( this , StatTimer ) ;
this . enabled = ! ! enable ;
this . reset ( ) ;
this . started = Object . create ( null ) ;
this . times = [ ] ;
}
_createClass ( StatTimer , [ {
key : 'reset' ,
value : function reset ( ) {
this . started = Object . create ( null ) ;
this . times = [ ] ;
}
} , {
key : 'time' ,
value : function time ( name ) {
if ( ! this . enabled ) {
@ -3322,9 +3317,6 @@ var DummyStatTimer = function () {
@@ -3322,9 +3317,6 @@ var DummyStatTimer = function () {
}
_createClass ( DummyStatTimer , null , [ {
key : 'reset' ,
value : function reset ( ) { }
} , {
key : 'time' ,
value : function time ( name ) { }
} , {
@ -11641,7 +11633,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
@@ -11641,7 +11633,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if ( worker . destroyed ) {
return Promise . reject ( new Error ( 'Worker was destroyed' ) ) ;
}
var apiVersion = '2.0.290 ' ;
var apiVersion = '2.0.292 ' ;
source . disableRange = ( 0 , _dom _utils . getDefaultSetting ) ( 'disableRange' ) ;
source . disableAutoFetch = ( 0 , _dom _utils . getDefaultSetting ) ( 'disableAutoFetch' ) ;
source . disableStream = ( 0 , _dom _utils . getDefaultSetting ) ( 'disableStream' ) ;
@ -12054,8 +12046,8 @@ var PDFPageProxy = function PDFPageProxyClosure() {
@@ -12054,8 +12046,8 @@ var PDFPageProxy = function PDFPageProxyClosure() {
} , this ) ;
this . objs . clear ( ) ;
this . annotationsPromise = null ;
if ( resetStats ) {
this . _stats . reset ( ) ;
if ( resetStats && this . _stats instanceof _dom _utils . StatTimer ) {
this . _stats = new _dom _utils . StatTimer ( ) ;
}
this . pendingCleanup = false ;
} ,
@ -12936,8 +12928,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -12936,8 +12928,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
} ( ) ;
var version , build ;
{
exports . version = version = '2.0.290 ' ;
exports . build = build = 'b6c57d90 ' ;
exports . version = version = '2.0.292 ' ;
exports . build = build = '628e70fb ' ;
}
exports . getDocument = getDocument ;
exports . LoopbackPort = LoopbackPort ;
@ -27277,8 +27269,8 @@ exports.SVGGraphics = SVGGraphics;
@@ -27277,8 +27269,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict" ;
var pdfjsVersion = '2.0.290 ' ;
var pdfjsBuild = 'b6c57d90 ' ;
var pdfjsVersion = '2.0.292 ' ;
var pdfjsBuild = '628e70fb ' ;
var pdfjsSharedUtil = _ _w _pdfjs _require _ _ ( 0 ) ;
var pdfjsDisplayGlobal = _ _w _pdfjs _require _ _ ( 133 ) ;
var pdfjsDisplayAPI = _ _w _pdfjs _require _ _ ( 66 ) ;
@ -32481,8 +32473,8 @@ if (!_global_scope2.default.PDFJS) {
@@ -32481,8 +32473,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global _scope2 . default . PDFJS ;
{
PDFJS . version = '2.0.290 ' ;
PDFJS . build = 'b6c57d90 ' ;
PDFJS . version = '2.0.292 ' ;
PDFJS . build = '628e70fb ' ;
}
PDFJS . pdfBug = false ;
if ( PDFJS . verbosity !== undefined ) {
@ -35853,7 +35845,7 @@ var WorkerMessageHandler = {
@@ -35853,7 +35845,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null ;
var WorkerTasks = [ ] ;
var apiVersion = docParams . apiVersion ;
var workerVersion = '2.0.290 ' ;
var workerVersion = '2.0.292 ' ;
if ( apiVersion !== null && apiVersion !== workerVersion ) {
throw new Error ( 'The API version "' + apiVersion + '" does not match ' + ( 'the Worker version "' + workerVersion + '".' ) ) ;
}