Browse Source

PDF.js version 2.0.97 - See mozilla/pdf.js@f87c16bcc425adbbf984bb234e20baed19a03f2b

master v2.0.97
pdfjsbot 7 years ago
parent
commit
e650c8fedb
  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. 2
      lib/web/app.js
  16. 6
      lib/web/pdf_sidebar.js
  17. 2
      package.json

2
bower.json

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

16
build/pdf.combined.js

@ -11111,7 +11111,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -11111,7 +11111,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.95';
var apiVersion = '2.0.97';
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
source.chunkedViewerLoading = !!pdfDataRangeTransport;
@ -12387,8 +12387,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -12387,8 +12387,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.95';
exports.build = build = '99b62fe3';
exports.version = version = '2.0.97';
exports.build = build = 'f87c16bc';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -29505,8 +29505,8 @@ exports.SVGGraphics = SVGGraphics; @@ -29505,8 +29505,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '2.0.95';
var pdfjsBuild = '99b62fe3';
var pdfjsVersion = '2.0.97';
var pdfjsBuild = 'f87c16bc';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(129);
var pdfjsDisplayAPI = __w_pdfjs_require__(63);
@ -35116,8 +35116,8 @@ if (!_global_scope2.default.PDFJS) { @@ -35116,8 +35116,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.95';
PDFJS.build = '99b62fe3';
PDFJS.version = '2.0.97';
PDFJS.build = 'f87c16bc';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -38046,7 +38046,7 @@ var WorkerMessageHandler = { @@ -38046,7 +38046,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.95';
var workerVersion = '2.0.97';
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

@ -3291,7 +3291,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -3291,7 +3291,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.95';
var apiVersion = '2.0.97';
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
source.chunkedViewerLoading = !!pdfDataRangeTransport;
@ -4654,8 +4654,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -4654,8 +4654,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.95';
exports.build = build = '99b62fe3';
exports.version = version = '2.0.97';
exports.build = build = 'f87c16bc';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -7720,8 +7720,8 @@ exports.SVGGraphics = SVGGraphics; @@ -7720,8 +7720,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '2.0.95';
var pdfjsBuild = '99b62fe3';
var pdfjsVersion = '2.0.97';
var pdfjsBuild = 'f87c16bc';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(113);
var pdfjsDisplayAPI = __w_pdfjs_require__(57);
@ -13331,8 +13331,8 @@ if (!_global_scope2.default.PDFJS) { @@ -13331,8 +13331,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.95';
PDFJS.build = '99b62fe3';
PDFJS.version = '2.0.97';
PDFJS.build = 'f87c16bc';
}
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

@ -24513,8 +24513,8 @@ exports.PostScriptCompiler = PostScriptCompiler; @@ -24513,8 +24513,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict";
var pdfjsVersion = '2.0.95';
var pdfjsBuild = '99b62fe3';
var pdfjsVersion = '2.0.97';
var pdfjsBuild = 'f87c16bc';
var pdfjsCoreWorker = __w_pdfjs_require__(71);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
@ -24719,7 +24719,7 @@ var WorkerMessageHandler = { @@ -24719,7 +24719,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.95';
var workerVersion = '2.0.97';
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

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

6
lib/display/api.js

@ -172,7 +172,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -172,7 +172,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.95';
var apiVersion = '2.0.97';
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
source.chunkedViewerLoading = !!pdfDataRangeTransport;
@ -1535,8 +1535,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -1535,8 +1535,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.95';
exports.build = build = '99b62fe3';
exports.version = version = '2.0.97';
exports.build = build = 'f87c16bc';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -44,8 +44,8 @@ if (!_global_scope2.default.PDFJS) { @@ -44,8 +44,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.95';
PDFJS.build = '99b62fe3';
PDFJS.version = '2.0.97';
PDFJS.build = 'f87c16bc';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

4
lib/pdf.js

@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@
*/
'use strict';
var pdfjsVersion = '2.0.95';
var pdfjsBuild = '99b62fe3';
var pdfjsVersion = '2.0.97';
var pdfjsBuild = 'f87c16bc';
var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayGlobal = require('./display/global.js');
var pdfjsDisplayAPI = require('./display/api.js');

4
lib/pdf.worker.js vendored

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
*/
'use strict';
var pdfjsVersion = '2.0.95';
var pdfjsBuild = '99b62fe3';
var pdfjsVersion = '2.0.97';
var pdfjsBuild = 'f87c16bc';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
lib/web/app.js

@ -1139,7 +1139,7 @@ function webViewerInitialized() { @@ -1139,7 +1139,7 @@ function webViewerInitialized() {
if (PDFViewerApplication.supportsIntegratedFind) {
appConfig.toolbar.viewFind.classList.add('hidden');
}
appConfig.sidebar.mainContainer.addEventListener('transitionend', function (evt) {
appConfig.mainContainer.addEventListener('transitionend', function (evt) {
if (evt.target === this) {
PDFViewerApplication.eventBus.dispatch('resize');
}

6
lib/web/pdf_sidebar.js

@ -48,8 +48,8 @@ var PDFSidebar = function () { @@ -48,8 +48,8 @@ var PDFSidebar = function () {
this.pdfViewer = options.pdfViewer;
this.pdfThumbnailViewer = options.pdfThumbnailViewer;
this.pdfOutlineViewer = options.pdfOutlineViewer;
this.mainContainer = options.mainContainer;
this.outerContainer = options.outerContainer;
this.viewerContainer = options.viewerContainer;
this.eventBus = options.eventBus;
this.toggleButton = options.toggleButton;
this.thumbnailButton = options.thumbnailButton;
@ -290,8 +290,8 @@ var PDFSidebar = function () { @@ -290,8 +290,8 @@ var PDFSidebar = function () {
value: function _addEventListeners() {
var _this3 = this;
this.mainContainer.addEventListener('transitionend', function (evt) {
if (evt.target === _this3.mainContainer) {
this.viewerContainer.addEventListener('transitionend', function (evt) {
if (evt.target === _this3.viewerContainer) {
_this3.outerContainer.classList.remove('sidebarMoving');
}
});

2
package.json

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

Loading…
Cancel
Save