Browse Source

PDF.js version 2.0.444 - See mozilla/pdf.js@63c7aee11211f071af382892f1664fe90f56b9e4

master v2.0.444
pdfjsbot 7 years ago
parent
commit
fed1c61073
  1. 2
      bower.json
  2. 16
      build/pdf.js
  3. 2
      build/pdf.js.map
  4. 2
      build/pdf.min.js
  5. 2
      build/pdf.worker.entry.js
  6. 8
      build/pdf.worker.js
  7. 2
      build/pdf.worker.js.map
  8. 2
      build/pdf.worker.min.js
  9. 2
      lib/core/worker.js
  10. 10
      lib/display/api.js
  11. 4
      lib/pdf.js
  12. 4
      lib/pdf.worker.js
  13. 4
      lib/web/pdf_viewer.component.js
  14. 2
      package.json
  15. 6
      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.442",
"version": "2.0.444",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

16
build/pdf.js

@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
else if(typeof exports === 'object')
exports["pdfjs-dist/build/pdf"] = factory();
else
root["pdfjs-dist/build/pdf"] = root.pdfjsDistBuildPdf = factory();
root["pdfjs-dist/build/pdf"] = root.pdfjsLib = factory();
})(typeof self !== 'undefined' ? self : this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
@ -3135,8 +3135,8 @@ exports.GlobalWorkerOptions = GlobalWorkerOptions; @@ -3135,8 +3135,8 @@ exports.GlobalWorkerOptions = GlobalWorkerOptions;
"use strict";
var pdfjsVersion = '2.0.442';
var pdfjsBuild = '3bfc797b';
var pdfjsVersion = '2.0.444';
var pdfjsBuild = '63c7aee1';
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.442',
apiVersion: '2.0.444',
source: {
data: source.data,
url: source.url,
@ -9127,7 +9127,7 @@ var PDFWorker = function PDFWorkerClosure() { @@ -9127,7 +9127,7 @@ var PDFWorker = function PDFWorkerClosure() {
if (typeof window === 'undefined') {
return null;
}
return window.pdfjsDistBuildPdfWorker && window.pdfjsDistBuildPdfWorker.WorkerMessageHandler;
return window.pdfjsWorker && window.pdfjsWorker.WorkerMessageHandler;
}
var fakeWorkerFilesLoadedCapability = void 0;
function setupFakeWorkerGlobal() {
@ -9142,7 +9142,7 @@ var PDFWorker = function PDFWorkerClosure() { @@ -9142,7 +9142,7 @@ var PDFWorker = function PDFWorkerClosure() {
}
var loader = fakeWorkerFilesLoader || function (callback) {
_util.Util.loadScript(getWorkerSrc(), function () {
callback(window.pdfjsDistBuildPdfWorker.WorkerMessageHandler);
callback(window.pdfjsWorker.WorkerMessageHandler);
});
};
loader(fakeWorkerFilesLoadedCapability.resolve);
@ -9998,8 +9998,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -9998,8 +9998,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.442';
exports.build = build = '3bfc797b';
exports.version = version = '2.0.444';
exports.build = build = '63c7aee1';
}
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

2
build/pdf.worker.entry.js

@ -13,5 +13,5 @@ @@ -13,5 +13,5 @@
* limitations under the License.
*/
(typeof window !== 'undefined' ? window : {}).pdfjsDistBuildPdfWorker =
(typeof window !== 'undefined' ? window : {}).pdfjsWorker =
require('./pdf.worker.js');

8
build/pdf.worker.js vendored

@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
else if(typeof exports === 'object')
exports["pdfjs-dist/build/pdf.worker"] = factory();
else
root["pdfjs-dist/build/pdf.worker"] = root.pdfjsDistBuildPdfWorker = factory();
root["pdfjs-dist/build/pdf.worker"] = root.pdfjsWorker = factory();
})(typeof self !== 'undefined' ? self : this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
@ -22350,8 +22350,8 @@ exports.PostScriptCompiler = PostScriptCompiler; @@ -22350,8 +22350,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict";
var pdfjsVersion = '2.0.442';
var pdfjsBuild = '3bfc797b';
var pdfjsVersion = '2.0.444';
var pdfjsBuild = '63c7aee1';
var pdfjsCoreWorker = __w_pdfjs_require__(74);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
@ -22564,7 +22564,7 @@ var WorkerMessageHandler = { @@ -22564,7 +22564,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.442';
var workerVersion = '2.0.444';
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.442';
var workerVersion = '2.0.444';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}

10
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.442',
apiVersion: '2.0.444',
source: {
data: source.data,
url: source.url,
@ -794,7 +794,7 @@ var PDFWorker = function PDFWorkerClosure() { @@ -794,7 +794,7 @@ var PDFWorker = function PDFWorkerClosure() {
if (typeof window === 'undefined') {
return null;
}
return window.pdfjsDistBuildPdfWorker && window.pdfjsDistBuildPdfWorker.WorkerMessageHandler;
return window.pdfjsWorker && window.pdfjsWorker.WorkerMessageHandler;
}
var fakeWorkerFilesLoadedCapability = void 0;
function setupFakeWorkerGlobal() {
@ -809,7 +809,7 @@ var PDFWorker = function PDFWorkerClosure() { @@ -809,7 +809,7 @@ var PDFWorker = function PDFWorkerClosure() {
}
var loader = fakeWorkerFilesLoader || function (callback) {
_util.Util.loadScript(getWorkerSrc(), function () {
callback(window.pdfjsDistBuildPdfWorker.WorkerMessageHandler);
callback(window.pdfjsWorker.WorkerMessageHandler);
});
};
loader(fakeWorkerFilesLoadedCapability.resolve);
@ -1665,8 +1665,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -1665,8 +1665,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.442';
exports.build = build = '3bfc797b';
exports.version = version = '2.0.444';
exports.build = build = '63c7aee1';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/pdf.js

@ -21,8 +21,8 @@ @@ -21,8 +21,8 @@
*/
'use strict';
var pdfjsVersion = '2.0.442';
var pdfjsBuild = '3bfc797b';
var pdfjsVersion = '2.0.444';
var pdfjsBuild = '63c7aee1';
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.442';
var pdfjsBuild = '3bfc797b';
var pdfjsVersion = '2.0.444';
var pdfjsBuild = '63c7aee1';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

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.442';
var pdfjsBuild = '3bfc797b';
var pdfjsVersion = '2.0.444';
var pdfjsBuild = '63c7aee1';
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.442",
"version": "2.0.444",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

6
web/pdf_viewer.js

@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
else if(typeof exports === 'object')
exports["pdfjs-dist/web/pdf_viewer"] = factory();
else
root["pdfjs-dist/web/pdf_viewer"] = root.pdfjsDistWebPdfViewer = factory();
root["pdfjs-dist/web/pdf_viewer"] = root.pdfjsViewer = factory();
})(typeof self !== 'undefined' ? self : this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
@ -3179,8 +3179,8 @@ var _pdf_single_page_viewer = __w_pdfjs_require__(16); @@ -3179,8 +3179,8 @@ var _pdf_single_page_viewer = __w_pdfjs_require__(16);
var _pdf_viewer = __w_pdfjs_require__(17);
var pdfjsVersion = '2.0.442';
var pdfjsBuild = '3bfc797b';
var pdfjsVersion = '2.0.444';
var pdfjsBuild = '63c7aee1';
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