Browse Source

PDF.js version 2.0.395 - See mozilla/pdf.js@97faedba0cd74d9f5899c2ffa33bb20103ffa8f8

master v2.0.395
pdfjsbot 7 years ago
parent
commit
ce6aa20525
  1. 2
      bower.json
  2. 10
      build/pdf.js
  3. 2
      build/pdf.js.map
  4. 2
      build/pdf.min.js
  5. 6
      build/pdf.worker.js
  6. 2
      build/pdf.worker.js.map
  7. 2
      build/pdf.worker.min.js
  8. 2
      lib/core/worker.js
  9. 6
      lib/display/api.js
  10. 4
      lib/pdf.js
  11. 4
      lib/pdf.worker.js
  12. 2
      package.json

2
bower.json

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

10
build/pdf.js

@ -3283,7 +3283,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -3283,7 +3283,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.391';
var apiVersion = '2.0.395';
source.disableRange = (0, _dom_utils.getDefaultSetting)('disableRange');
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
@ -4691,8 +4691,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -4691,8 +4691,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.391';
exports.build = build = '5f98f9b8';
exports.version = version = '2.0.395';
exports.build = build = '97faedba';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -7454,8 +7454,8 @@ exports.SVGGraphics = SVGGraphics; @@ -7454,8 +7454,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '2.0.391';
var pdfjsBuild = '5f98f9b8';
var pdfjsVersion = '2.0.395';
var pdfjsBuild = '97faedba';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(121);
var pdfjsDisplayAPI = __w_pdfjs_require__(59);

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

@ -22315,8 +22315,8 @@ exports.PostScriptCompiler = PostScriptCompiler; @@ -22315,8 +22315,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict";
var pdfjsVersion = '2.0.391';
var pdfjsBuild = '5f98f9b8';
var pdfjsVersion = '2.0.395';
var pdfjsBuild = '97faedba';
var pdfjsCoreWorker = __w_pdfjs_require__(74);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
@ -22529,7 +22529,7 @@ var WorkerMessageHandler = { @@ -22529,7 +22529,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.391';
var workerVersion = '2.0.395';
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

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

6
lib/display/api.js

@ -189,7 +189,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -189,7 +189,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.391';
var apiVersion = '2.0.395';
source.disableRange = (0, _dom_utils.getDefaultSetting)('disableRange');
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
@ -1597,8 +1597,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -1597,8 +1597,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.391';
exports.build = build = '5f98f9b8';
exports.version = version = '2.0.395';
exports.build = build = '97faedba';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/pdf.js

@ -21,8 +21,8 @@ @@ -21,8 +21,8 @@
*/
'use strict';
var pdfjsVersion = '2.0.391';
var pdfjsBuild = '5f98f9b8';
var pdfjsVersion = '2.0.395';
var pdfjsBuild = '97faedba';
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.391';
var pdfjsBuild = '5f98f9b8';
var pdfjsVersion = '2.0.395';
var pdfjsBuild = '97faedba';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
package.json

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

Loading…
Cancel
Save