Browse Source

PDF.js version 2.0.104 - See mozilla/pdf.js@012d075604103805b5404dcc94ef0d14cd8d97e2

master v2.0.104
pdfjsbot 7 years ago
parent
commit
1f2d871d00
  1. 2
      bower.json
  2. 16
      build/pdf.combined.js
  3. 2
      build/pdf.combined.js.map
  4. 14
      build/pdf.js
  5. 2
      build/pdf.js.map
  6. 2
      build/pdf.min.js
  7. 6
      build/pdf.worker.js
  8. 2
      build/pdf.worker.js.map
  9. 2
      build/pdf.worker.min.js
  10. 2
      lib/core/worker.js
  11. 6
      lib/display/api.js
  12. 4
      lib/display/global.js
  13. 4
      lib/pdf.js
  14. 4
      lib/pdf.worker.js
  15. 80
      lib/web/pdf_viewer.component.js
  16. 2
      package.json
  17. 6012
      web/pdf_viewer.js
  18. 2
      web/pdf_viewer.js.map

2
bower.json

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

16
build/pdf.combined.js

@ -11111,7 +11111,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -11111,7 +11111,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.101';
var apiVersion = '2.0.104';
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
source.chunkedViewerLoading = !!pdfDataRangeTransport;
@ -12387,8 +12387,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -12387,8 +12387,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.101';
exports.build = build = '04b93cf5';
exports.version = version = '2.0.104';
exports.build = build = '012d0756';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -29505,8 +29505,8 @@ exports.SVGGraphics = SVGGraphics; @@ -29505,8 +29505,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '2.0.101';
var pdfjsBuild = '04b93cf5';
var pdfjsVersion = '2.0.104';
var pdfjsBuild = '012d0756';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(129);
var pdfjsDisplayAPI = __w_pdfjs_require__(63);
@ -35116,8 +35116,8 @@ if (!_global_scope2.default.PDFJS) { @@ -35116,8 +35116,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.101';
PDFJS.build = '04b93cf5';
PDFJS.version = '2.0.104';
PDFJS.build = '012d0756';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -38046,7 +38046,7 @@ var WorkerMessageHandler = { @@ -38046,7 +38046,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.101';
var workerVersion = '2.0.104';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

14
build/pdf.js

@ -3291,7 +3291,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -3291,7 +3291,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.101';
var apiVersion = '2.0.104';
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
source.chunkedViewerLoading = !!pdfDataRangeTransport;
@ -4654,8 +4654,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -4654,8 +4654,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.101';
exports.build = build = '04b93cf5';
exports.version = version = '2.0.104';
exports.build = build = '012d0756';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -7720,8 +7720,8 @@ exports.SVGGraphics = SVGGraphics; @@ -7720,8 +7720,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '2.0.101';
var pdfjsBuild = '04b93cf5';
var pdfjsVersion = '2.0.104';
var pdfjsBuild = '012d0756';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(113);
var pdfjsDisplayAPI = __w_pdfjs_require__(57);
@ -13331,8 +13331,8 @@ if (!_global_scope2.default.PDFJS) { @@ -13331,8 +13331,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.101';
PDFJS.build = '04b93cf5';
PDFJS.version = '2.0.104';
PDFJS.build = '012d0756';
}
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

6
build/pdf.worker.js vendored

@ -24513,8 +24513,8 @@ exports.PostScriptCompiler = PostScriptCompiler; @@ -24513,8 +24513,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict";
var pdfjsVersion = '2.0.101';
var pdfjsBuild = '04b93cf5';
var pdfjsVersion = '2.0.104';
var pdfjsBuild = '012d0756';
var pdfjsCoreWorker = __w_pdfjs_require__(71);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
@ -24719,7 +24719,7 @@ var WorkerMessageHandler = { @@ -24719,7 +24719,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.101';
var workerVersion = '2.0.104';
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

@ -208,7 +208,7 @@ var WorkerMessageHandler = { @@ -208,7 +208,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.101';
var workerVersion = '2.0.104';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}

6
lib/display/api.js

@ -172,7 +172,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -172,7 +172,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '2.0.101';
var apiVersion = '2.0.104';
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
source.chunkedViewerLoading = !!pdfDataRangeTransport;
@ -1535,8 +1535,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { @@ -1535,8 +1535,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.101';
exports.build = build = '04b93cf5';
exports.version = version = '2.0.104';
exports.build = build = '012d0756';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -44,8 +44,8 @@ if (!_global_scope2.default.PDFJS) { @@ -44,8 +44,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '2.0.101';
PDFJS.build = '04b93cf5';
PDFJS.version = '2.0.104';
PDFJS.build = '012d0756';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

4
lib/pdf.js

@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@
*/
'use strict';
var pdfjsVersion = '2.0.101';
var pdfjsBuild = '04b93cf5';
var pdfjsVersion = '2.0.104';
var pdfjsBuild = '012d0756';
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 = '2.0.101';
var pdfjsBuild = '04b93cf5';
var pdfjsVersion = '2.0.104';
var pdfjsBuild = '012d0756';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

80
lib/web/pdf_viewer.component.js

@ -14,33 +14,55 @@ @@ -14,33 +14,55 @@
*/
'use strict';
var pdfjsLib = require('./pdfjs.js');
var pdfjsWebPDFViewer = require('./pdf_viewer.js');
var pdfjsWebPDFSinglePageViewer = require('./pdf_single_page_viewer');
var pdfjsWebPDFPageView = require('./pdf_page_view.js');
var pdfjsWebPDFLinkService = require('./pdf_link_service.js');
var pdfjsWebTextLayerBuilder = require('./text_layer_builder.js');
var pdfjsWebAnnotationLayerBuilder = require('./annotation_layer_builder.js');
var pdfjsWebPDFHistory = require('./pdf_history.js');
var pdfjsWebPDFFindController = require('./pdf_find_controller.js');
var pdfjsWebUIUtils = require('./ui_utils.js');
var pdfjsWebDownloadManager = require('./download_manager.js');
var pdfjsWebGenericL10n = require('./genericl10n.js');
var PDFJS = pdfjsLib.PDFJS;
PDFJS.PDFViewer = pdfjsWebPDFViewer.PDFViewer;
PDFJS.PDFSinglePageViewer = pdfjsWebPDFSinglePageViewer.PDFSinglePageViewer;
PDFJS.PDFPageView = pdfjsWebPDFPageView.PDFPageView;
PDFJS.PDFLinkService = pdfjsWebPDFLinkService.PDFLinkService;
PDFJS.SimpleLinkService = pdfjsWebPDFLinkService.SimpleLinkService;
PDFJS.TextLayerBuilder = pdfjsWebTextLayerBuilder.TextLayerBuilder;
PDFJS.DefaultTextLayerFactory = pdfjsWebTextLayerBuilder.DefaultTextLayerFactory;
PDFJS.AnnotationLayerBuilder = pdfjsWebAnnotationLayerBuilder.AnnotationLayerBuilder;
PDFJS.DefaultAnnotationLayerFactory = pdfjsWebAnnotationLayerBuilder.DefaultAnnotationLayerFactory;
PDFJS.PDFHistory = pdfjsWebPDFHistory.PDFHistory;
PDFJS.PDFFindController = pdfjsWebPDFFindController.PDFFindController;
PDFJS.EventBus = pdfjsWebUIUtils.EventBus;
PDFJS.DownloadManager = pdfjsWebDownloadManager.DownloadManager;
PDFJS.ProgressBar = pdfjsWebUIUtils.ProgressBar;
PDFJS.GenericL10n = pdfjsWebGenericL10n.GenericL10n;
PDFJS.NullL10n = pdfjsWebUIUtils.NullL10n;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.PDFJS = undefined;
var _annotation_layer_builder = require('./annotation_layer_builder.js');
var _text_layer_builder = require('./text_layer_builder.js');
var _ui_utils = require('./ui_utils.js');
var _pdf_link_service = require('./pdf_link_service.js');
var _download_manager = require('./download_manager.js');
var _genericl10n = require('./genericl10n.js');
var _pdf_find_controller = require('./pdf_find_controller.js');
var _pdf_history = require('./pdf_history.js');
var _pdfjs = require('./pdfjs.js');
var _pdfjs2 = _interopRequireDefault(_pdfjs);
var _pdf_page_view = require('./pdf_page_view.js');
var _pdf_single_page_viewer = require('./pdf_single_page_viewer');
var _pdf_viewer = require('./pdf_viewer.js');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var PDFJS = _pdfjs2.default.PDFJS;
PDFJS.PDFViewer = _pdf_viewer.PDFViewer;
PDFJS.PDFSinglePageViewer = _pdf_single_page_viewer.PDFSinglePageViewer;
PDFJS.PDFPageView = _pdf_page_view.PDFPageView;
PDFJS.PDFLinkService = _pdf_link_service.PDFLinkService;
PDFJS.SimpleLinkService = _pdf_link_service.SimpleLinkService;
PDFJS.TextLayerBuilder = _text_layer_builder.TextLayerBuilder;
PDFJS.DefaultTextLayerFactory = _text_layer_builder.DefaultTextLayerFactory;
PDFJS.AnnotationLayerBuilder = _annotation_layer_builder.AnnotationLayerBuilder;
PDFJS.DefaultAnnotationLayerFactory = _annotation_layer_builder.DefaultAnnotationLayerFactory;
PDFJS.PDFHistory = _pdf_history.PDFHistory;
PDFJS.PDFFindController = _pdf_find_controller.PDFFindController;
PDFJS.EventBus = _ui_utils.EventBus;
PDFJS.DownloadManager = _download_manager.DownloadManager;
PDFJS.ProgressBar = _ui_utils.ProgressBar;
PDFJS.GenericL10n = _genericl10n.GenericL10n;
PDFJS.NullL10n = _ui_utils.NullL10n;
exports.PDFJS = PDFJS;

2
package.json

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

6012
web/pdf_viewer.js

File diff suppressed because it is too large Load Diff

2
web/pdf_viewer.js.map

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