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 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "2.0.442", "version": "2.0.444",
"main": [ "main": [
"build/pdf.js", "build/pdf.js",
"build/pdf.worker.js" "build/pdf.worker.js"

16
build/pdf.js

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

8
build/pdf.worker.js vendored

@ -28,7 +28,7 @@
else if(typeof exports === 'object') else if(typeof exports === 'object')
exports["pdfjs-dist/build/pdf.worker"] = factory(); exports["pdfjs-dist/build/pdf.worker"] = factory();
else 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() { })(typeof self !== 'undefined' ? self : this, function() {
return /******/ (function(modules) { // webpackBootstrap return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
@ -22350,8 +22350,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict"; "use strict";
var pdfjsVersion = '2.0.442'; var pdfjsVersion = '2.0.444';
var pdfjsBuild = '3bfc797b'; var pdfjsBuild = '63c7aee1';
var pdfjsCoreWorker = __w_pdfjs_require__(74); var pdfjsCoreWorker = __w_pdfjs_require__(74);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler; exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
@ -22564,7 +22564,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null; var cancelXHRs = null;
var WorkerTasks = []; var WorkerTasks = [];
var apiVersion = docParams.apiVersion; var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.442'; var workerVersion = '2.0.444';
if (apiVersion !== null && apiVersion !== workerVersion) { if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + 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 = {
var cancelXHRs = null; var cancelXHRs = null;
var WorkerTasks = []; var WorkerTasks = [];
var apiVersion = docParams.apiVersion; var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.442'; var workerVersion = '2.0.444';
if (apiVersion !== null && apiVersion !== workerVersion) { if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + 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) {
} }
return worker.messageHandler.sendWithPromise('GetDocRequest', { return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId: docId, docId: docId,
apiVersion: '2.0.442', apiVersion: '2.0.444',
source: { source: {
data: source.data, data: source.data,
url: source.url, url: source.url,
@ -794,7 +794,7 @@ var PDFWorker = function PDFWorkerClosure() {
if (typeof window === 'undefined') { if (typeof window === 'undefined') {
return null; return null;
} }
return window.pdfjsDistBuildPdfWorker && window.pdfjsDistBuildPdfWorker.WorkerMessageHandler; return window.pdfjsWorker && window.pdfjsWorker.WorkerMessageHandler;
} }
var fakeWorkerFilesLoadedCapability = void 0; var fakeWorkerFilesLoadedCapability = void 0;
function setupFakeWorkerGlobal() { function setupFakeWorkerGlobal() {
@ -809,7 +809,7 @@ var PDFWorker = function PDFWorkerClosure() {
} }
var loader = fakeWorkerFilesLoader || function (callback) { var loader = fakeWorkerFilesLoader || function (callback) {
_util.Util.loadScript(getWorkerSrc(), function () { _util.Util.loadScript(getWorkerSrc(), function () {
callback(window.pdfjsDistBuildPdfWorker.WorkerMessageHandler); callback(window.pdfjsWorker.WorkerMessageHandler);
}); });
}; };
loader(fakeWorkerFilesLoadedCapability.resolve); loader(fakeWorkerFilesLoadedCapability.resolve);
@ -1665,8 +1665,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '2.0.442'; exports.version = version = '2.0.444';
exports.build = build = '3bfc797b'; exports.build = build = '63c7aee1';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;

4
lib/pdf.js

@ -21,8 +21,8 @@
*/ */
'use strict'; 'use strict';
var pdfjsVersion = '2.0.442'; var pdfjsVersion = '2.0.444';
var pdfjsBuild = '3bfc797b'; var pdfjsBuild = '63c7aee1';
var pdfjsSharedUtil = require('./shared/util.js'); var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayAPI = require('./display/api.js'); var pdfjsDisplayAPI = require('./display/api.js');
var pdfjsDisplayTextLayer = require('./display/text_layer.js'); var pdfjsDisplayTextLayer = require('./display/text_layer.js');

4
lib/pdf.worker.js vendored

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

2
package.json

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

6
web/pdf_viewer.js

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