Browse Source

PDF.js version 2.0.252 - See mozilla/pdf.js@a3b2456c7a33811010961ee111c58554dbc74ffc

master v2.0.252
pdfjsbot 7 years ago
parent
commit
8869ccab3c
  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. 2
      package.json

2
bower.json

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

16
build/pdf.combined.js

@ -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.250';
var apiVersion = '2.0.252';
source.disableRange = (0, _dom_utils.getDefaultSetting)('disableRange');
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
@ -12903,8 +12903,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -12903,8 +12903,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.250';
exports.build = build = '6b2ed504';
exports.version = version = '2.0.252';
exports.build = build = 'a3b2456c';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -26687,8 +26687,8 @@ exports.SVGGraphics = SVGGraphics; @@ -26687,8 +26687,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '2.0.250';
var pdfjsBuild = '6b2ed504';
var pdfjsVersion = '2.0.252';
var pdfjsBuild = 'a3b2456c';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(131);
var pdfjsDisplayAPI = __w_pdfjs_require__(65);
@ -31867,8 +31867,8 @@ if (!_global_scope2.default.PDFJS) { @@ -31867,8 +31867,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.250';
PDFJS.build = '6b2ed504';
PDFJS.version = '2.0.252';
PDFJS.build = 'a3b2456c';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -35229,7 +35229,7 @@ var WorkerMessageHandler = { @@ -35229,7 +35229,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.250';
var workerVersion = '2.0.252';
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.250';
var apiVersion = '2.0.252';
source.disableRange = (0, _dom_utils.getDefaultSetting)('disableRange');
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
@ -4671,8 +4671,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -4671,8 +4671,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.250';
exports.build = build = '6b2ed504';
exports.version = version = '2.0.252';
exports.build = build = 'a3b2456c';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -7416,8 +7416,8 @@ exports.SVGGraphics = SVGGraphics; @@ -7416,8 +7416,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '2.0.250';
var pdfjsBuild = '6b2ed504';
var pdfjsVersion = '2.0.252';
var pdfjsBuild = 'a3b2456c';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(114);
var pdfjsDisplayAPI = __w_pdfjs_require__(57);
@ -12596,8 +12596,8 @@ if (!_global_scope2.default.PDFJS) { @@ -12596,8 +12596,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.250';
PDFJS.build = '6b2ed504';
PDFJS.version = '2.0.252';
PDFJS.build = 'a3b2456c';
}
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

@ -21939,8 +21939,8 @@ exports.PostScriptCompiler = PostScriptCompiler; @@ -21939,8 +21939,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict";
var pdfjsVersion = '2.0.250';
var pdfjsBuild = '6b2ed504';
var pdfjsVersion = '2.0.252';
var pdfjsBuild = 'a3b2456c';
var pdfjsCoreWorker = __w_pdfjs_require__(72);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
@ -22147,7 +22147,7 @@ var WorkerMessageHandler = { @@ -22147,7 +22147,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.250';
var workerVersion = '2.0.252';
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.250';
var workerVersion = '2.0.252';
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.250';
var apiVersion = '2.0.252';
source.disableRange = (0, _dom_utils.getDefaultSetting)('disableRange');
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
@ -1550,8 +1550,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -1550,8 +1550,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.250';
exports.build = build = '6b2ed504';
exports.version = version = '2.0.252';
exports.build = build = 'a3b2456c';
}
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.250';
PDFJS.build = '6b2ed504';
PDFJS.version = '2.0.252';
PDFJS.build = 'a3b2456c';
}
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.250';
var pdfjsBuild = '6b2ed504';
var pdfjsVersion = '2.0.252';
var pdfjsBuild = 'a3b2456c';
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.250';
var pdfjsBuild = '6b2ed504';
var pdfjsVersion = '2.0.252';
var pdfjsBuild = 'a3b2456c';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
lib/web/app.js

@ -1614,6 +1614,7 @@ function webViewerKeyDown(evt) { @@ -1614,6 +1614,7 @@ function webViewerKeyDown(evt) {
handled = true;
}
break;
case 13:
case 40:
case 34:
case 32:
@ -1658,6 +1659,7 @@ function webViewerKeyDown(evt) { @@ -1658,6 +1659,7 @@ function webViewerKeyDown(evt) {
}
if (cmd === 4) {
switch (evt.keyCode) {
case 13:
case 32:
if (!isViewerInPresentationMode && pdfViewer.currentScaleValue !== 'page-fit') {
break;

2
package.json

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

Loading…
Cancel
Save