Browse Source

PDF.js version 1.9.572 - See mozilla/pdf.js@c84c23c4cb4423054df88cba3c15967c71e40d47

master v1.9.572
pdfjsbot 7 years ago
parent
commit
b70b877ac8
  1. 2
      bower.json
  2. 12
      build/pdf.combined.js
  3. 2
      build/pdf.combined.js.map
  4. 12
      build/pdf.js
  5. 2
      build/pdf.js.map
  6. 2
      build/pdf.min.js
  7. 4
      build/pdf.worker.js
  8. 2
      build/pdf.worker.js.map
  9. 4
      lib/display/api.js
  10. 4
      lib/display/global.js
  11. 4
      lib/pdf.js
  12. 4
      lib/pdf.worker.js
  13. 17
      lib/web/app.js
  14. 2
      package.json

2
bower.json

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

12
build/pdf.combined.js

@ -13490,8 +13490,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -13490,8 +13490,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.570';
exports.build = build = 'f01f0fda';
exports.version = version = '1.9.572';
exports.build = build = 'c84c23c4';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -29354,8 +29354,8 @@ exports.SVGGraphics = SVGGraphics; @@ -29354,8 +29354,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '1.9.570';
var pdfjsBuild = 'f01f0fda';
var pdfjsVersion = '1.9.572';
var pdfjsBuild = 'c84c23c4';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(98);
var pdfjsDisplayAPI = __w_pdfjs_require__(55);
@ -35217,8 +35217,8 @@ if (!_global_scope2.default.PDFJS) { @@ -35217,8 +35217,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.570';
PDFJS.build = 'f01f0fda';
PDFJS.version = '1.9.572';
PDFJS.build = 'c84c23c4';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

12
build/pdf.js

@ -4204,8 +4204,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -4204,8 +4204,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.570';
exports.build = build = 'f01f0fda';
exports.version = version = '1.9.572';
exports.build = build = 'c84c23c4';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -7182,8 +7182,8 @@ exports.SVGGraphics = SVGGraphics; @@ -7182,8 +7182,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '1.9.570';
var pdfjsBuild = 'f01f0fda';
var pdfjsVersion = '1.9.572';
var pdfjsBuild = 'c84c23c4';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(82);
var pdfjsDisplayAPI = __w_pdfjs_require__(48);
@ -13045,8 +13045,8 @@ if (!_global_scope2.default.PDFJS) { @@ -13045,8 +13045,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.570';
PDFJS.build = 'f01f0fda';
PDFJS.version = '1.9.572';
PDFJS.build = 'c84c23c4';
}
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

4
build/pdf.worker.js vendored

@ -24529,8 +24529,8 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph; @@ -24529,8 +24529,8 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph;
"use strict";
var pdfjsVersion = '1.9.570';
var pdfjsBuild = 'f01f0fda';
var pdfjsVersion = '1.9.572';
var pdfjsBuild = 'c84c23c4';
var pdfjsCoreWorker = __w_pdfjs_require__(62);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
build/pdf.worker.js.map vendored

File diff suppressed because one or more lines are too long

4
lib/display/api.js

@ -1582,8 +1582,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -1582,8 +1582,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.570';
exports.build = build = 'f01f0fda';
exports.version = version = '1.9.572';
exports.build = build = 'c84c23c4';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -45,8 +45,8 @@ if (!_global_scope2.default.PDFJS) { @@ -45,8 +45,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.570';
PDFJS.build = 'f01f0fda';
PDFJS.version = '1.9.572';
PDFJS.build = 'c84c23c4';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

4
lib/pdf.js

@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@
*/
'use strict';
var pdfjsVersion = '1.9.570';
var pdfjsBuild = 'f01f0fda';
var pdfjsVersion = '1.9.572';
var pdfjsBuild = 'c84c23c4';
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 = '1.9.570';
var pdfjsBuild = 'f01f0fda';
var pdfjsVersion = '1.9.572';
var pdfjsBuild = 'c84c23c4';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

17
lib/web/app.js

@ -947,14 +947,6 @@ var PDFViewerApplication = { @@ -947,14 +947,6 @@ var PDFViewerApplication = {
window.addEventListener('hashchange', _boundEvents.windowHashChange);
window.addEventListener('beforeprint', _boundEvents.windowBeforePrint);
window.addEventListener('afterprint', _boundEvents.windowAfterPrint);
_boundEvents.windowChange = function (evt) {
var files = evt.target.files;
if (!files || files.length === 0) {
return;
}
eventBus.dispatch('fileinputchange', { fileInput: evt.target });
};
window.addEventListener('change', _boundEvents.windowChange);
},
unbindEvents: function unbindEvents() {
var eventBus = this.eventBus,
@ -1005,8 +997,6 @@ var PDFViewerApplication = { @@ -1005,8 +997,6 @@ var PDFViewerApplication = {
window.removeEventListener('hashchange', _boundEvents.windowHashChange);
window.removeEventListener('beforeprint', _boundEvents.windowBeforePrint);
window.removeEventListener('afterprint', _boundEvents.windowAfterPrint);
window.removeEventListener('change', _boundEvents.windowChange);
_boundEvents.windowChange = null;
_boundEvents.windowResize = null;
_boundEvents.windowHashChange = null;
_boundEvents.windowBeforePrint = null;
@ -1077,6 +1067,13 @@ function webViewerInitialized() { @@ -1077,6 +1067,13 @@ function webViewerInitialized() {
} else {
fileInput.value = null;
}
fileInput.addEventListener('change', function (evt) {
var files = evt.target.files;
if (!files || files.length === 0) {
return;
}
PDFViewerApplication.eventBus.dispatch('fileinputchange', { fileInput: evt.target });
});
if (PDFViewerApplication.viewerPrefs['pdfBugEnabled']) {
var hash = document.location.hash.substring(1);
var hashParams = (0, _ui_utils.parseQueryString)(hash);

2
package.json

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

Loading…
Cancel
Save