Browse Source

PDF.js version 1.9.441 - See mozilla/pdf.js@8c8d8fa2390bac75a3afbe9f4f0cbd60bb708282

master v1.9.441
pdfjsbot 8 years ago
parent
commit
078dfb0fff
  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. 4
      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. 5
      lib/web/pdf_attachment_viewer.js
  14. 3
      lib/web/pdf_outline_viewer.js
  15. 17
      lib/web/pdf_sidebar.js
  16. 2
      package.json

2
bower.json

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

12
build/pdf.combined.js

@ -7338,8 +7338,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -7338,8 +7338,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.438';
exports.build = build = '50e10fda';
exports.version = version = '1.9.441';
exports.build = build = '8c8d8fa2';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -28942,8 +28942,8 @@ if (!_util.globalScope.PDFJS) { @@ -28942,8 +28942,8 @@ if (!_util.globalScope.PDFJS) {
}
var PDFJS = _util.globalScope.PDFJS;
{
PDFJS.version = '1.9.438';
PDFJS.build = '50e10fda';
PDFJS.version = '1.9.441';
PDFJS.build = '8c8d8fa2';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -49639,8 +49639,8 @@ exports.PDFDataTransportStream = PDFDataTransportStream; @@ -49639,8 +49639,8 @@ exports.PDFDataTransportStream = PDFDataTransportStream;
"use strict";
var pdfjsVersion = '1.9.438';
var pdfjsBuild = '50e10fda';
var pdfjsVersion = '1.9.441';
var pdfjsBuild = '8c8d8fa2';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(68);
var pdfjsDisplayAPI = __w_pdfjs_require__(25);

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

12
build/pdf.js

@ -3589,8 +3589,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -3589,8 +3589,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.438';
exports.build = build = '50e10fda';
exports.version = version = '1.9.441';
exports.build = build = '8c8d8fa2';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -6817,8 +6817,8 @@ if (!_util.globalScope.PDFJS) { @@ -6817,8 +6817,8 @@ if (!_util.globalScope.PDFJS) {
}
var PDFJS = _util.globalScope.PDFJS;
{
PDFJS.version = '1.9.438';
PDFJS.build = '50e10fda';
PDFJS.version = '1.9.441';
PDFJS.build = '8c8d8fa2';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -14303,8 +14303,8 @@ exports.PDFDataTransportStream = PDFDataTransportStream; @@ -14303,8 +14303,8 @@ exports.PDFDataTransportStream = PDFDataTransportStream;
"use strict";
var pdfjsVersion = '1.9.438';
var pdfjsBuild = '50e10fda';
var pdfjsVersion = '1.9.441';
var pdfjsBuild = '8c8d8fa2';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(52);
var pdfjsDisplayAPI = __w_pdfjs_require__(20);

2
build/pdf.js.map

File diff suppressed because one or more lines are too long

4
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

4
build/pdf.worker.js vendored

@ -41930,8 +41930,8 @@ exports.Type1Parser = Type1Parser; @@ -41930,8 +41930,8 @@ exports.Type1Parser = Type1Parser;
"use strict";
var pdfjsVersion = '1.9.438';
var pdfjsBuild = '50e10fda';
var pdfjsVersion = '1.9.441';
var pdfjsBuild = '8c8d8fa2';
var pdfjsCoreWorker = __w_pdfjs_require__(61);
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

@ -1575,8 +1575,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -1575,8 +1575,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.438';
exports.build = build = '50e10fda';
exports.version = version = '1.9.441';
exports.build = build = '8c8d8fa2';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -39,8 +39,8 @@ if (!_util.globalScope.PDFJS) { @@ -39,8 +39,8 @@ if (!_util.globalScope.PDFJS) {
}
var PDFJS = _util.globalScope.PDFJS;
{
PDFJS.version = '1.9.438';
PDFJS.build = '50e10fda';
PDFJS.version = '1.9.441';
PDFJS.build = '8c8d8fa2';
}
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.438';
var pdfjsBuild = '50e10fda';
var pdfjsVersion = '1.9.441';
var pdfjsBuild = '8c8d8fa2';
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.438';
var pdfjsBuild = '50e10fda';
var pdfjsVersion = '1.9.441';
var pdfjsBuild = '8c8d8fa2';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

5
lib/web/pdf_attachment_viewer.js

@ -33,11 +33,10 @@ var PDFAttachmentViewer = function () { @@ -33,11 +33,10 @@ var PDFAttachmentViewer = function () {
_classCallCheck(this, PDFAttachmentViewer);
this.attachments = null;
this.container = container;
this.eventBus = eventBus;
this.downloadManager = downloadManager;
this._renderedCapability = (0, _pdf.createPromiseCapability)();
this.reset();
this.eventBus.on('fileattachmentannotation', this._appendAttachment.bind(this));
}
@ -55,11 +54,11 @@ var PDFAttachmentViewer = function () { @@ -55,11 +54,11 @@ var PDFAttachmentViewer = function () {
}, {
key: '_dispatchEvent',
value: function _dispatchEvent(attachmentsCount) {
this._renderedCapability.resolve();
this.eventBus.dispatch('attachmentsloaded', {
source: this,
attachmentsCount: attachmentsCount
});
this._renderedCapability.resolve();
}
}, {
key: '_bindPdfLink',

3
lib/web/pdf_outline_viewer.js

@ -35,11 +35,10 @@ var PDFOutlineViewer = function () { @@ -35,11 +35,10 @@ var PDFOutlineViewer = function () {
_classCallCheck(this, PDFOutlineViewer);
this.outline = null;
this.lastToggleIsShow = true;
this.container = container;
this.linkService = linkService;
this.eventBus = eventBus;
this.reset();
}
_createClass(PDFOutlineViewer, [{

17
lib/web/pdf_sidebar.js

@ -315,13 +315,20 @@ var PDFSidebar = function () { @@ -315,13 +315,20 @@ var PDFSidebar = function () {
}
});
this.eventBus.on('attachmentsloaded', function (evt) {
var attachmentsCount = evt.attachmentsCount;
_this3.attachmentsButton.disabled = !attachmentsCount;
if (attachmentsCount) {
if (evt.attachmentsCount) {
_this3.attachmentsButton.disabled = false;
_this3._showUINotification(SidebarView.ATTACHMENTS);
} else if (_this3.active === SidebarView.ATTACHMENTS) {
_this3.switchView(SidebarView.THUMBS);
return;
}
Promise.resolve().then(function () {
if (_this3.attachmentsView.hasChildNodes()) {
return;
}
_this3.attachmentsButton.disabled = true;
if (_this3.active === SidebarView.ATTACHMENTS) {
_this3.switchView(SidebarView.THUMBS);
}
});
});
this.eventBus.on('presentationmodechanged', function (evt) {
if (!evt.active && !evt.switchInProgress && _this3.isThumbnailViewVisible) {

2
package.json

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

Loading…
Cancel
Save