Browse Source

PDF.js version 2.0.426 - See mozilla/pdf.js@58cda43b294027399f1de486783a2858b0838da4

master v2.0.426
pdfjsbot 7 years ago
parent
commit
4643f4e18e
  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. 7
      lib/web/chromecom.js
  13. 4
      lib/web/pdf_viewer.component.js
  14. 2
      package.json
  15. 4
      web/pdf_viewer.js
  16. 2
      web/pdf_viewer.js.map

2
bower.json

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

10
build/pdf.js

@ -3135,8 +3135,8 @@ exports.GlobalWorkerOptions = GlobalWorkerOptions; @@ -3135,8 +3135,8 @@ exports.GlobalWorkerOptions = GlobalWorkerOptions;
"use strict";
var pdfjsVersion = '2.0.424';
var pdfjsBuild = 'fded22c6';
var pdfjsVersion = '2.0.426';
var pdfjsBuild = '58cda43b';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayAPI = __w_pdfjs_require__(117);
var pdfjsDisplayTextLayer = __w_pdfjs_require__(124);
@ -8567,7 +8567,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -8567,7 +8567,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId: docId,
apiVersion: '2.0.424',
apiVersion: '2.0.426',
source: {
data: source.data,
url: source.url,
@ -10001,8 +10001,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -10001,8 +10001,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.424';
exports.build = build = 'fded22c6';
exports.version = version = '2.0.426';
exports.build = build = '58cda43b';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

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

@ -22337,8 +22337,8 @@ exports.PostScriptCompiler = PostScriptCompiler; @@ -22337,8 +22337,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict";
var pdfjsVersion = '2.0.424';
var pdfjsBuild = 'fded22c6';
var pdfjsVersion = '2.0.426';
var pdfjsBuild = '58cda43b';
var pdfjsCoreWorker = __w_pdfjs_require__(74);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
@ -22551,7 +22551,7 @@ var WorkerMessageHandler = { @@ -22551,7 +22551,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.424';
var workerVersion = '2.0.426';
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.424';
var workerVersion = '2.0.426';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}

6
lib/display/api.js

@ -234,7 +234,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -234,7 +234,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId: docId,
apiVersion: '2.0.424',
apiVersion: '2.0.426',
source: {
data: source.data,
url: source.url,
@ -1668,8 +1668,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -1668,8 +1668,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.424';
exports.build = build = 'fded22c6';
exports.version = version = '2.0.426';
exports.build = build = '58cda43b';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/pdf.js

@ -21,8 +21,8 @@ @@ -21,8 +21,8 @@
*/
'use strict';
var pdfjsVersion = '2.0.424';
var pdfjsBuild = 'fded22c6';
var pdfjsVersion = '2.0.426';
var pdfjsBuild = '58cda43b';
var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayAPI = require('./display/api.js');
var pdfjsDisplayTextLayer = require('./display/text_layer.js');

4
lib/pdf.worker.js vendored

@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
*/
'use strict';
var pdfjsVersion = '2.0.424';
var pdfjsBuild = 'fded22c6';
var pdfjsVersion = '2.0.426';
var pdfjsBuild = '58cda43b';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

7
lib/web/chromecom.js

@ -30,6 +30,8 @@ var _createClass = function () { function defineProperties(target, props) { for @@ -30,6 +30,8 @@ var _createClass = function () { function defineProperties(target, props) { for
var _app = require('./app');
var _app_options = require('./app_options');
var _preferences = require('./preferences');
var _download_manager = require('./download_manager');
@ -314,10 +316,9 @@ var ChromePreferences = function (_BasePreferences) { @@ -314,10 +316,9 @@ var ChromePreferences = function (_BasePreferences) {
var ChromeExternalServices = Object.create(_app.DefaultExternalServices);
ChromeExternalServices.initPassiveLoading = function (callbacks) {
var appConfig = _app.PDFViewerApplication.appConfig,
overlayManager = _app.PDFViewerApplication.overlayManager;
var overlayManager = _app.PDFViewerApplication.overlayManager;
ChromeCom.resolvePDFFile(appConfig.defaultUrl, overlayManager, function (url, length, originalURL) {
ChromeCom.resolvePDFFile(_app_options.AppOptions.get('defaultUrl'), overlayManager, function (url, length, originalURL) {
callbacks.onOpenWithURL(url, length, originalURL);
});
};

4
lib/web/pdf_viewer.component.js

@ -48,8 +48,8 @@ var _pdf_single_page_viewer = require('./pdf_single_page_viewer'); @@ -48,8 +48,8 @@ var _pdf_single_page_viewer = require('./pdf_single_page_viewer');
var _pdf_viewer = require('./pdf_viewer.js');
var pdfjsVersion = '2.0.424';
var pdfjsBuild = 'fded22c6';
var pdfjsVersion = '2.0.426';
var pdfjsBuild = '58cda43b';
exports.PDFViewer = _pdf_viewer.PDFViewer;
exports.PDFSinglePageViewer = _pdf_single_page_viewer.PDFSinglePageViewer;
exports.PDFPageView = _pdf_page_view.PDFPageView;

2
package.json

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

4
web/pdf_viewer.js

@ -3180,8 +3180,8 @@ var _pdf_single_page_viewer = __w_pdfjs_require__(16); @@ -3180,8 +3180,8 @@ var _pdf_single_page_viewer = __w_pdfjs_require__(16);
var _pdf_viewer = __w_pdfjs_require__(17);
var pdfjsVersion = '2.0.424';
var pdfjsBuild = 'fded22c6';
var pdfjsVersion = '2.0.426';
var pdfjsBuild = '58cda43b';
exports.PDFViewer = _pdf_viewer.PDFViewer;
exports.PDFSinglePageViewer = _pdf_single_page_viewer.PDFSinglePageViewer;
exports.PDFPageView = _pdf_page_view.PDFPageView;

2
web/pdf_viewer.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save