Browse Source

PDF.js version 2.0.263 - See mozilla/pdf.js@ba0a3aebd05fe85f5eef42260b1346d5856b6ba1

master v2.0.263
pdfjsbot 7 years ago
parent
commit
edaea9a257
  1. 2
      bower.json
  2. 16
      build/pdf.combined.js
  3. 2
      build/pdf.combined.js.map
  4. 14
      build/pdf.js
  5. 2
      build/pdf.js.map
  6. 2
      build/pdf.min.js
  7. 6
      build/pdf.worker.js
  8. 2
      build/pdf.worker.js.map
  9. 2
      build/pdf.worker.min.js
  10. 2
      lib/core/worker.js
  11. 6
      lib/display/api.js
  12. 4
      lib/display/global.js
  13. 4
      lib/pdf.js
  14. 4
      lib/pdf.worker.js
  15. 8
      lib/web/pdf_history.js
  16. 2
      package.json
  17. 8
      web/pdf_viewer.js
  18. 2
      web/pdf_viewer.js.map

2
bower.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "2.0.260",
"version": "2.0.263",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

16
build/pdf.combined.js

@ -11619,7 +11619,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -11619,7 +11619,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.260';
var apiVersion = '2.0.263';
source.disableRange = (0, _dom_utils.getDefaultSetting)('disableRange');
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
@ -12911,8 +12911,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -12911,8 +12911,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.260';
exports.build = build = 'd77fc888';
exports.version = version = '2.0.263';
exports.build = build = 'ba0a3aeb';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -26703,8 +26703,8 @@ exports.SVGGraphics = SVGGraphics; @@ -26703,8 +26703,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '2.0.260';
var pdfjsBuild = 'd77fc888';
var pdfjsVersion = '2.0.263';
var pdfjsBuild = 'ba0a3aeb';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(131);
var pdfjsDisplayAPI = __w_pdfjs_require__(65);
@ -31883,8 +31883,8 @@ if (!_global_scope2.default.PDFJS) { @@ -31883,8 +31883,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.260';
PDFJS.build = 'd77fc888';
PDFJS.version = '2.0.263';
PDFJS.build = 'ba0a3aeb';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -35245,7 +35245,7 @@ var WorkerMessageHandler = { @@ -35245,7 +35245,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.260';
var workerVersion = '2.0.263';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

14
build/pdf.js

@ -3299,7 +3299,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -3299,7 +3299,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.260';
var apiVersion = '2.0.263';
source.disableRange = (0, _dom_utils.getDefaultSetting)('disableRange');
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
@ -4672,8 +4672,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -4672,8 +4672,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.260';
exports.build = build = 'd77fc888';
exports.version = version = '2.0.263';
exports.build = build = 'ba0a3aeb';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -7425,8 +7425,8 @@ exports.SVGGraphics = SVGGraphics; @@ -7425,8 +7425,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '2.0.260';
var pdfjsBuild = 'd77fc888';
var pdfjsVersion = '2.0.263';
var pdfjsBuild = 'ba0a3aeb';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(114);
var pdfjsDisplayAPI = __w_pdfjs_require__(57);
@ -12605,8 +12605,8 @@ if (!_global_scope2.default.PDFJS) { @@ -12605,8 +12605,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.260';
PDFJS.build = 'd77fc888';
PDFJS.version = '2.0.263';
PDFJS.build = 'ba0a3aeb';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

2
build/pdf.js.map

File diff suppressed because one or more lines are too long

2
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

6
build/pdf.worker.js vendored

@ -21946,8 +21946,8 @@ exports.PostScriptCompiler = PostScriptCompiler; @@ -21946,8 +21946,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict";
var pdfjsVersion = '2.0.260';
var pdfjsBuild = 'd77fc888';
var pdfjsVersion = '2.0.263';
var pdfjsBuild = 'ba0a3aeb';
var pdfjsCoreWorker = __w_pdfjs_require__(72);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
@ -22154,7 +22154,7 @@ var WorkerMessageHandler = { @@ -22154,7 +22154,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.260';
var workerVersion = '2.0.263';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}

2
build/pdf.worker.js.map vendored

File diff suppressed because one or more lines are too long

2
build/pdf.worker.min.js vendored

File diff suppressed because one or more lines are too long

2
lib/core/worker.js

@ -217,7 +217,7 @@ var WorkerMessageHandler = { @@ -217,7 +217,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.260';
var workerVersion = '2.0.263';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}

6
lib/display/api.js

@ -178,7 +178,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -178,7 +178,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.260';
var apiVersion = '2.0.263';
source.disableRange = (0, _dom_utils.getDefaultSetting)('disableRange');
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
@ -1551,8 +1551,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -1551,8 +1551,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.260';
exports.build = build = 'd77fc888';
exports.version = version = '2.0.263';
exports.build = build = 'ba0a3aeb';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -51,8 +51,8 @@ if (!_global_scope2.default.PDFJS) { @@ -51,8 +51,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.260';
PDFJS.build = 'd77fc888';
PDFJS.version = '2.0.263';
PDFJS.build = 'ba0a3aeb';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

4
lib/pdf.js

@ -21,8 +21,8 @@ @@ -21,8 +21,8 @@
*/
'use strict';
var pdfjsVersion = '2.0.260';
var pdfjsBuild = 'd77fc888';
var pdfjsVersion = '2.0.263';
var pdfjsBuild = 'ba0a3aeb';
var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayGlobal = require('./display/global.js');
var pdfjsDisplayAPI = require('./display/api.js');

4
lib/pdf.worker.js vendored

@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
*/
'use strict';
var pdfjsVersion = '2.0.260';
var pdfjsBuild = 'd77fc888';
var pdfjsVersion = '2.0.263';
var pdfjsBuild = 'ba0a3aeb';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

8
lib/web/pdf_history.js

@ -125,6 +125,9 @@ var PDFHistory = function () { @@ -125,6 +125,9 @@ var PDFHistory = function () {
}
var destination = state.destination;
this._updateInternalState(destination, state.uid, true);
if (this._uid > this._maxUid) {
this._maxUid = this._uid;
}
if (destination.rotation !== undefined) {
this.initialRotation = destination.rotation;
}
@ -371,6 +374,9 @@ var PDFHistory = function () { @@ -371,6 +374,9 @@ var PDFHistory = function () {
}
var destination = state.destination;
this._updateInternalState(destination, state.uid, true);
if (this._uid > this._maxUid) {
this._maxUid = this._uid;
}
if ((0, _ui_utils.isValidRotation)(destination.rotation)) {
this.linkService.rotation = destination.rotation;
}
@ -396,7 +402,7 @@ var PDFHistory = function () { @@ -396,7 +402,7 @@ var PDFHistory = function () {
_boundEvents.updateViewarea = this._updateViewarea.bind(this);
_boundEvents.popState = this._popState.bind(this);
_boundEvents.pageHide = function (evt) {
if (!_this5._destination) {
if (!_this5._destination || _this5._destination.temporary) {
_this5._tryPushCurrentPosition();
}
};

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "2.0.260",
"version": "2.0.263",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

8
web/pdf_viewer.js

@ -4580,6 +4580,9 @@ var PDFHistory = function () { @@ -4580,6 +4580,9 @@ var PDFHistory = function () {
}
var destination = state.destination;
this._updateInternalState(destination, state.uid, true);
if (this._uid > this._maxUid) {
this._maxUid = this._uid;
}
if (destination.rotation !== undefined) {
this.initialRotation = destination.rotation;
}
@ -4826,6 +4829,9 @@ var PDFHistory = function () { @@ -4826,6 +4829,9 @@ var PDFHistory = function () {
}
var destination = state.destination;
this._updateInternalState(destination, state.uid, true);
if (this._uid > this._maxUid) {
this._maxUid = this._uid;
}
if ((0, _ui_utils.isValidRotation)(destination.rotation)) {
this.linkService.rotation = destination.rotation;
}
@ -4851,7 +4857,7 @@ var PDFHistory = function () { @@ -4851,7 +4857,7 @@ var PDFHistory = function () {
_boundEvents.updateViewarea = this._updateViewarea.bind(this);
_boundEvents.popState = this._popState.bind(this);
_boundEvents.pageHide = function (evt) {
if (!_this5._destination) {
if (!_this5._destination || _this5._destination.temporary) {
_this5._tryPushCurrentPosition();
}
};

2
web/pdf_viewer.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save