Browse Source

PDF.js version 1.8.205 - See mozilla/pdf.js@bc1f4dd9c8068a74777e239bf81e4d5b4c178fe6

master v1.8.205
pdfjsbot 8 years ago
parent
commit
29032fbc96
  1. 2
      bower.json
  2. 12
      build/pdf.combined.js
  3. 12
      build/pdf.js
  4. 4
      build/pdf.min.js
  5. 4
      build/pdf.worker.js
  6. 4
      lib/display/api.js
  7. 4
      lib/display/global.js
  8. 4
      lib/pdf.js
  9. 4
      lib/pdf.worker.js
  10. 6
      lib/web/annotation_layer_builder.js
  11. 44
      lib/web/app.js
  12. 8
      lib/web/chromecom.js
  13. 2
      lib/web/dom_events.js
  14. 4
      lib/web/download_manager.js
  15. 6
      lib/web/firefox_print_service.js
  16. 6
      lib/web/firefoxcom.js
  17. 6
      lib/web/hand_tool.js
  18. 6
      lib/web/password_prompt.js
  19. 2
      lib/web/pdf_attachment_viewer.js
  20. 4
      lib/web/pdf_document_properties.js
  21. 4
      lib/web/pdf_find_bar.js
  22. 2
      lib/web/pdf_find_controller.js
  23. 2
      lib/web/pdf_history.js
  24. 4
      lib/web/pdf_link_service.js
  25. 2
      lib/web/pdf_outline_viewer.js
  26. 8
      lib/web/pdf_page_view.js
  27. 2
      lib/web/pdf_presentation_mode.js
  28. 8
      lib/web/pdf_print_service.js
  29. 4
      lib/web/pdf_sidebar.js
  30. 4
      lib/web/pdf_thumbnail_view.js
  31. 4
      lib/web/pdf_thumbnail_viewer.js
  32. 16
      lib/web/pdf_viewer.js
  33. 2
      lib/web/secondary_toolbar.js
  34. 4
      lib/web/text_layer_builder.js
  35. 2
      lib/web/toolbar.js
  36. 2
      lib/web/ui_utils.js
  37. 2
      package.json

2
bower.json

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

12
build/pdf.combined.js

@ -12734,8 +12734,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
} }
}; };
}(); }();
exports.version = '1.8.203'; exports.version = '1.8.205';
exports.build = 'f6d4de98'; exports.build = 'bc1f4dd9';
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.PDFDataRangeTransport = PDFDataRangeTransport; exports.PDFDataRangeTransport = PDFDataRangeTransport;
exports.PDFWorker = PDFWorker; exports.PDFWorker = PDFWorker;
@ -27996,8 +27996,8 @@ if (!globalScope.PDFJS) {
globalScope.PDFJS = {}; globalScope.PDFJS = {};
} }
var PDFJS = globalScope.PDFJS; var PDFJS = globalScope.PDFJS;
PDFJS.version = '1.8.203'; PDFJS.version = '1.8.205';
PDFJS.build = 'f6d4de98'; PDFJS.build = 'bc1f4dd9';
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity); sharedUtil.setVerbosityLevel(PDFJS.verbosity);
@ -43509,8 +43509,8 @@ exports.TilingPattern = TilingPattern;
"use strict"; "use strict";
var pdfjsVersion = '1.8.203'; var pdfjsVersion = '1.8.205';
var pdfjsBuild = 'f6d4de98'; var pdfjsBuild = 'bc1f4dd9';
var pdfjsSharedUtil = __w_pdfjs_require__(0); var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(26); var pdfjsDisplayGlobal = __w_pdfjs_require__(26);
var pdfjsDisplayAPI = __w_pdfjs_require__(10); var pdfjsDisplayAPI = __w_pdfjs_require__(10);

12
build/pdf.js

@ -3448,8 +3448,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
} }
}; };
}(); }();
exports.version = '1.8.203'; exports.version = '1.8.205';
exports.build = 'f6d4de98'; exports.build = 'bc1f4dd9';
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.PDFDataRangeTransport = PDFDataRangeTransport; exports.PDFDataRangeTransport = PDFDataRangeTransport;
exports.PDFWorker = PDFWorker; exports.PDFWorker = PDFWorker;
@ -5388,8 +5388,8 @@ if (!globalScope.PDFJS) {
globalScope.PDFJS = {}; globalScope.PDFJS = {};
} }
var PDFJS = globalScope.PDFJS; var PDFJS = globalScope.PDFJS;
PDFJS.version = '1.8.203'; PDFJS.version = '1.8.205';
PDFJS.build = 'f6d4de98'; PDFJS.build = 'bc1f4dd9';
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity); sharedUtil.setVerbosityLevel(PDFJS.verbosity);
@ -7877,8 +7877,8 @@ exports.TilingPattern = TilingPattern;
"use strict"; "use strict";
var pdfjsVersion = '1.8.203'; var pdfjsVersion = '1.8.205';
var pdfjsBuild = 'f6d4de98'; var pdfjsBuild = 'bc1f4dd9';
var pdfjsSharedUtil = __w_pdfjs_require__(0); var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(9); var pdfjsDisplayGlobal = __w_pdfjs_require__(9);
var pdfjsDisplayAPI = __w_pdfjs_require__(3); var pdfjsDisplayAPI = __w_pdfjs_require__(3);

4
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

4
build/pdf.worker.js vendored

@ -36938,8 +36938,8 @@ exports.Type1Parser = Type1Parser;
"use strict"; "use strict";
var pdfjsVersion = '1.8.203'; var pdfjsVersion = '1.8.205';
var pdfjsBuild = 'f6d4de98'; var pdfjsBuild = 'bc1f4dd9';
var pdfjsCoreWorker = __w_pdfjs_require__(8); var pdfjsCoreWorker = __w_pdfjs_require__(8);
{ {
__w_pdfjs_require__(19); __w_pdfjs_require__(19);

4
lib/display/api.js

@ -1379,8 +1379,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
} }
}; };
}(); }();
exports.version = '1.8.203'; exports.version = '1.8.205';
exports.build = 'f6d4de98'; exports.build = 'bc1f4dd9';
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.PDFDataRangeTransport = PDFDataRangeTransport; exports.PDFDataRangeTransport = PDFDataRangeTransport;
exports.PDFWorker = PDFWorker; exports.PDFWorker = PDFWorker;

4
lib/display/global.js

@ -31,8 +31,8 @@ if (!globalScope.PDFJS) {
globalScope.PDFJS = {}; globalScope.PDFJS = {};
} }
var PDFJS = globalScope.PDFJS; var PDFJS = globalScope.PDFJS;
PDFJS.version = '1.8.203'; PDFJS.version = '1.8.205';
PDFJS.build = 'f6d4de98'; PDFJS.build = 'bc1f4dd9';
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity); sharedUtil.setVerbosityLevel(PDFJS.verbosity);

4
lib/pdf.js

@ -14,8 +14,8 @@
*/ */
'use strict'; 'use strict';
var pdfjsVersion = '1.8.203'; var pdfjsVersion = '1.8.205';
var pdfjsBuild = 'f6d4de98'; var pdfjsBuild = 'bc1f4dd9';
var pdfjsSharedUtil = require('./shared/util.js'); var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayGlobal = require('./display/global.js'); var pdfjsDisplayGlobal = require('./display/global.js');
var pdfjsDisplayAPI = require('./display/api.js'); var pdfjsDisplayAPI = require('./display/api.js');

4
lib/pdf.worker.js vendored

@ -14,8 +14,8 @@
*/ */
'use strict'; 'use strict';
var pdfjsVersion = '1.8.203'; var pdfjsVersion = '1.8.205';
var pdfjsBuild = 'f6d4de98'; var pdfjsBuild = 'bc1f4dd9';
var pdfjsCoreWorker = require('./core/worker.js'); var pdfjsCoreWorker = require('./core/worker.js');
{ {
require('./core/network.js'); require('./core/network.js');

6
lib/web/annotation_layer_builder.js

@ -19,11 +19,11 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.DefaultAnnotationLayerFactory = exports.AnnotationLayerBuilder = undefined; exports.DefaultAnnotationLayerFactory = exports.AnnotationLayerBuilder = undefined;
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _pdf_link_service = require('pdfjs-web/pdf_link_service'); var _pdf_link_service = require('./pdf_link_service');
var AnnotationLayerBuilder = function AnnotationLayerBuilderClosure() { var AnnotationLayerBuilder = function AnnotationLayerBuilderClosure() {
function AnnotationLayerBuilder(options) { function AnnotationLayerBuilder(options) {

44
lib/web/app.js

@ -19,49 +19,49 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFPrintServiceFactory = exports.DefaultExternalServices = exports.PDFViewerApplication = undefined; exports.PDFPrintServiceFactory = exports.DefaultExternalServices = exports.PDFViewerApplication = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var _pdf_rendering_queue = require('pdfjs-web/pdf_rendering_queue'); var _pdf_rendering_queue = require('./pdf_rendering_queue');
var _pdf_sidebar = require('pdfjs-web/pdf_sidebar'); var _pdf_sidebar = require('./pdf_sidebar');
var _pdf_viewer = require('pdfjs-web/pdf_viewer'); var _pdf_viewer = require('./pdf_viewer');
var _dom_events = require('pdfjs-web/dom_events'); var _dom_events = require('./dom_events');
var _hand_tool = require('pdfjs-web/hand_tool'); var _hand_tool = require('./hand_tool');
var _overlay_manager = require('pdfjs-web/overlay_manager'); var _overlay_manager = require('./overlay_manager');
var _password_prompt = require('pdfjs-web/password_prompt'); var _password_prompt = require('./password_prompt');
var _pdf_attachment_viewer = require('pdfjs-web/pdf_attachment_viewer'); var _pdf_attachment_viewer = require('./pdf_attachment_viewer');
var _pdf_document_properties = require('pdfjs-web/pdf_document_properties'); var _pdf_document_properties = require('./pdf_document_properties');
var _pdf_find_bar = require('pdfjs-web/pdf_find_bar'); var _pdf_find_bar = require('./pdf_find_bar');
var _pdf_find_controller = require('pdfjs-web/pdf_find_controller'); var _pdf_find_controller = require('./pdf_find_controller');
var _pdf_history = require('pdfjs-web/pdf_history'); var _pdf_history = require('./pdf_history');
var _pdf_link_service = require('pdfjs-web/pdf_link_service'); var _pdf_link_service = require('./pdf_link_service');
var _pdf_outline_viewer = require('pdfjs-web/pdf_outline_viewer'); var _pdf_outline_viewer = require('./pdf_outline_viewer');
var _pdf_presentation_mode = require('pdfjs-web/pdf_presentation_mode'); var _pdf_presentation_mode = require('./pdf_presentation_mode');
var _pdf_thumbnail_viewer = require('pdfjs-web/pdf_thumbnail_viewer'); var _pdf_thumbnail_viewer = require('./pdf_thumbnail_viewer');
var _preferences = require('pdfjs-web/preferences'); var _preferences = require('./preferences');
var _secondary_toolbar = require('pdfjs-web/secondary_toolbar'); var _secondary_toolbar = require('./secondary_toolbar');
var _toolbar = require('pdfjs-web/toolbar'); var _toolbar = require('./toolbar');
var _view_history = require('pdfjs-web/view_history'); var _view_history = require('./view_history');
var DEFAULT_SCALE_DELTA = 1.1; var DEFAULT_SCALE_DELTA = 1.1;
var DISABLE_AUTO_FETCH_LOADING_BAR_TIMEOUT = 5000; var DISABLE_AUTO_FETCH_LOADING_BAR_TIMEOUT = 5000;

8
lib/web/chromecom.js

@ -19,13 +19,13 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.ChromeCom = undefined; exports.ChromeCom = undefined;
var _app = require('pdfjs-web/app'); var _app = require('./app');
var _overlay_manager = require('pdfjs-web/overlay_manager'); var _overlay_manager = require('./overlay_manager');
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var _preferences = require('pdfjs-web/preferences'); var _preferences = require('./preferences');
{ {
throw new Error('Module "pdfjs-web/chromecom" shall not be used outside ' + 'CHROME build.'); throw new Error('Module "pdfjs-web/chromecom" shall not be used outside ' + 'CHROME build.');

2
lib/web/dom_events.js

@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.getGlobalEventBus = exports.attachDOMEventsToEventBus = undefined; exports.getGlobalEventBus = exports.attachDOMEventsToEventBus = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
function attachDOMEventsToEventBus(eventBus) { function attachDOMEventsToEventBus(eventBus) {
eventBus.on('documentload', function () { eventBus.on('documentload', function () {

4
lib/web/download_manager.js

@ -19,9 +19,9 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.DownloadManager = undefined; exports.DownloadManager = undefined;
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var _app = require('pdfjs-web/app'); var _app = require('./app');
; ;
function download(blobUrl, filename) { function download(blobUrl, filename) {

6
lib/web/firefox_print_service.js

@ -19,11 +19,11 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.FirefoxPrintService = undefined; exports.FirefoxPrintService = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _app = require('pdfjs-web/app'); var _app = require('./app');
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
function composePage(pdfDocument, pageNumber, size, printContainer) { function composePage(pdfDocument, pageNumber, size, printContainer) {
var canvas = document.createElement('canvas'); var canvas = document.createElement('canvas');

6
lib/web/firefoxcom.js

@ -19,11 +19,11 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.FirefoxCom = exports.DownloadManager = undefined; exports.FirefoxCom = exports.DownloadManager = undefined;
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var _app = require('pdfjs-web/app'); var _app = require('./app');
var _preferences = require('pdfjs-web/preferences'); var _preferences = require('./preferences');
{ {
throw new Error('Module "pdfjs-web/firefoxcom" shall not be used outside ' + 'FIREFOX and MOZCENTRAL builds.'); throw new Error('Module "pdfjs-web/firefoxcom" shall not be used outside ' + 'FIREFOX and MOZCENTRAL builds.');

6
lib/web/hand_tool.js

@ -19,11 +19,11 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.HandTool = undefined; exports.HandTool = undefined;
var _grab_to_pan = require('pdfjs-web/grab_to_pan'); var _grab_to_pan = require('./grab_to_pan');
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _preferences = require('pdfjs-web/preferences'); var _preferences = require('./preferences');
var HandTool = function HandToolClosure() { var HandTool = function HandToolClosure() {
function HandTool(options) { function HandTool(options) {

6
lib/web/password_prompt.js

@ -19,11 +19,11 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PasswordPrompt = undefined; exports.PasswordPrompt = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _overlay_manager = require('pdfjs-web/overlay_manager'); var _overlay_manager = require('./overlay_manager');
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var PasswordPrompt = function PasswordPromptClosure() { var PasswordPrompt = function PasswordPromptClosure() {
function PasswordPrompt(options) { function PasswordPrompt(options) {

2
lib/web/pdf_attachment_viewer.js

@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFAttachmentViewer = undefined; exports.PDFAttachmentViewer = undefined;
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var PDFAttachmentViewer = function PDFAttachmentViewerClosure() { var PDFAttachmentViewer = function PDFAttachmentViewerClosure() {
function PDFAttachmentViewer(options) { function PDFAttachmentViewer(options) {

4
lib/web/pdf_document_properties.js

@ -19,9 +19,9 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFDocumentProperties = undefined; exports.PDFDocumentProperties = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _overlay_manager = require('pdfjs-web/overlay_manager'); var _overlay_manager = require('./overlay_manager');
var PDFDocumentProperties = function PDFDocumentPropertiesClosure() { var PDFDocumentProperties = function PDFDocumentPropertiesClosure() {
function PDFDocumentProperties(options) { function PDFDocumentProperties(options) {

4
lib/web/pdf_find_bar.js

@ -19,9 +19,9 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFFindBar = undefined; exports.PDFFindBar = undefined;
var _pdf_find_controller = require('pdfjs-web/pdf_find_controller'); var _pdf_find_controller = require('./pdf_find_controller');
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var PDFFindBar = function PDFFindBarClosure() { var PDFFindBar = function PDFFindBarClosure() {
function PDFFindBar(options) { function PDFFindBar(options) {

2
lib/web/pdf_find_controller.js

@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFFindController = exports.FindStates = undefined; exports.PDFFindController = exports.FindStates = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var FindStates = { var FindStates = {
FIND_FOUND: 0, FIND_FOUND: 0,

2
lib/web/pdf_history.js

@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFHistory = undefined; exports.PDFHistory = undefined;
var _dom_events = require('pdfjs-web/dom_events'); var _dom_events = require('./dom_events');
function PDFHistory(options) { function PDFHistory(options) {
this.linkService = options.linkService; this.linkService = options.linkService;

4
lib/web/pdf_link_service.js

@ -19,9 +19,9 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.SimpleLinkService = exports.PDFLinkService = undefined; exports.SimpleLinkService = exports.PDFLinkService = undefined;
var _dom_events = require('pdfjs-web/dom_events'); var _dom_events = require('./dom_events');
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var PageNumberRegExp = /^\d+$/; var PageNumberRegExp = /^\d+$/;
function isPageNumber(str) { function isPageNumber(str) {

2
lib/web/pdf_outline_viewer.js

@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFOutlineViewer = undefined; exports.PDFOutlineViewer = undefined;
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var DEFAULT_TITLE = '\u2013'; var DEFAULT_TITLE = '\u2013';
var PDFOutlineViewer = function PDFOutlineViewerClosure() { var PDFOutlineViewer = function PDFOutlineViewerClosure() {

8
lib/web/pdf_page_view.js

@ -19,13 +19,13 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFPageView = undefined; exports.PDFPageView = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var _dom_events = require('pdfjs-web/dom_events'); var _dom_events = require('./dom_events');
var _pdf_rendering_queue = require('pdfjs-web/pdf_rendering_queue'); var _pdf_rendering_queue = require('./pdf_rendering_queue');
var TEXT_LAYER_RENDER_DELAY = 200; var TEXT_LAYER_RENDER_DELAY = 200;
var PDFPageView = function PDFPageViewClosure() { var PDFPageView = function PDFPageViewClosure() {

2
lib/web/pdf_presentation_mode.js

@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFPresentationMode = undefined; exports.PDFPresentationMode = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var DELAY_BEFORE_RESETTING_SWITCH_IN_PROGRESS = 1500; var DELAY_BEFORE_RESETTING_SWITCH_IN_PROGRESS = 1500;
var DELAY_BEFORE_HIDING_CONTROLS = 3000; var DELAY_BEFORE_HIDING_CONTROLS = 3000;

8
lib/web/pdf_print_service.js

@ -19,13 +19,13 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFPrintService = undefined; exports.PDFPrintService = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _overlay_manager = require('pdfjs-web/overlay_manager'); var _overlay_manager = require('./overlay_manager');
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var _app = require('pdfjs-web/app'); var _app = require('./app');
var activeService = null; var activeService = null;
function renderPage(activeServiceOnEntry, pdfDocument, pageNumber, size) { function renderPage(activeServiceOnEntry, pdfDocument, pageNumber, size) {

4
lib/web/pdf_sidebar.js

@ -19,9 +19,9 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFSidebar = exports.SidebarView = undefined; exports.PDFSidebar = exports.SidebarView = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _pdf_rendering_queue = require('pdfjs-web/pdf_rendering_queue'); var _pdf_rendering_queue = require('./pdf_rendering_queue');
var UI_NOTIFICATION_CLASS = 'pdfSidebarNotification'; var UI_NOTIFICATION_CLASS = 'pdfSidebarNotification';
var SidebarView = { var SidebarView = {

4
lib/web/pdf_thumbnail_view.js

@ -19,9 +19,9 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFThumbnailView = undefined; exports.PDFThumbnailView = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _pdf_rendering_queue = require('pdfjs-web/pdf_rendering_queue'); var _pdf_rendering_queue = require('./pdf_rendering_queue');
var THUMBNAIL_WIDTH = 98; var THUMBNAIL_WIDTH = 98;
var THUMBNAIL_CANVAS_BORDER_WIDTH = 1; var THUMBNAIL_CANVAS_BORDER_WIDTH = 1;

4
lib/web/pdf_thumbnail_viewer.js

@ -19,9 +19,9 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFThumbnailViewer = undefined; exports.PDFThumbnailViewer = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _pdf_thumbnail_view = require('pdfjs-web/pdf_thumbnail_view'); var _pdf_thumbnail_view = require('./pdf_thumbnail_view');
var THUMBNAIL_SCROLL_MARGIN = -19; var THUMBNAIL_SCROLL_MARGIN = -19;
var PDFThumbnailViewer = function PDFThumbnailViewerClosure() { var PDFThumbnailViewer = function PDFThumbnailViewerClosure() {

16
lib/web/pdf_viewer.js

@ -19,21 +19,21 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.PDFViewer = exports.PresentationModeState = undefined; exports.PDFViewer = exports.PresentationModeState = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var _pdf_rendering_queue = require('pdfjs-web/pdf_rendering_queue'); var _pdf_rendering_queue = require('./pdf_rendering_queue');
var _annotation_layer_builder = require('pdfjs-web/annotation_layer_builder'); var _annotation_layer_builder = require('./annotation_layer_builder');
var _dom_events = require('pdfjs-web/dom_events'); var _dom_events = require('./dom_events');
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var _pdf_page_view = require('pdfjs-web/pdf_page_view'); var _pdf_page_view = require('./pdf_page_view');
var _pdf_link_service = require('pdfjs-web/pdf_link_service'); var _pdf_link_service = require('./pdf_link_service');
var _text_layer_builder = require('pdfjs-web/text_layer_builder'); var _text_layer_builder = require('./text_layer_builder');
var PresentationModeState = { var PresentationModeState = {
UNKNOWN: 0, UNKNOWN: 0,

2
lib/web/secondary_toolbar.js

@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.SecondaryToolbar = undefined; exports.SecondaryToolbar = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var SecondaryToolbar = function SecondaryToolbarClosure() { var SecondaryToolbar = function SecondaryToolbarClosure() {
function SecondaryToolbar(options, mainContainer, eventBus) { function SecondaryToolbar(options, mainContainer, eventBus) {

4
lib/web/text_layer_builder.js

@ -19,9 +19,9 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.DefaultTextLayerFactory = exports.TextLayerBuilder = undefined; exports.DefaultTextLayerFactory = exports.TextLayerBuilder = undefined;
var _dom_events = require('pdfjs-web/dom_events'); var _dom_events = require('./dom_events');
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var EXPAND_DIVS_TIMEOUT = 300; var EXPAND_DIVS_TIMEOUT = 300;
var TextLayerBuilder = function TextLayerBuilderClosure() { var TextLayerBuilder = function TextLayerBuilderClosure() {

2
lib/web/toolbar.js

@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.Toolbar = undefined; exports.Toolbar = undefined;
var _ui_utils = require('pdfjs-web/ui_utils'); var _ui_utils = require('./ui_utils');
var PAGE_NUMBER_LOADING_INDICATOR = 'visiblePageIsLoading'; var PAGE_NUMBER_LOADING_INDICATOR = 'visiblePageIsLoading';
var SCALE_SELECT_CONTAINER_PADDING = 8; var SCALE_SELECT_CONTAINER_PADDING = 8;

2
lib/web/ui_utils.js

@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", {
}); });
exports.localized = exports.animationStarted = exports.normalizeWheelEventDelta = exports.binarySearchFirstItem = exports.watchScroll = exports.scrollIntoView = exports.getOutputScale = exports.approximateFraction = exports.roundToDivide = exports.getVisibleElements = exports.parseQueryString = exports.noContextMenuHandler = exports.getPDFFileNameFromURL = exports.ProgressBar = exports.EventBus = exports.mozL10n = exports.RendererType = exports.VERTICAL_PADDING = exports.SCROLLBAR_PADDING = exports.MAX_AUTO_SCALE = exports.UNKNOWN_SCALE = exports.MAX_SCALE = exports.MIN_SCALE = exports.DEFAULT_SCALE = exports.DEFAULT_SCALE_VALUE = exports.CSS_UNITS = undefined; exports.localized = exports.animationStarted = exports.normalizeWheelEventDelta = exports.binarySearchFirstItem = exports.watchScroll = exports.scrollIntoView = exports.getOutputScale = exports.approximateFraction = exports.roundToDivide = exports.getVisibleElements = exports.parseQueryString = exports.noContextMenuHandler = exports.getPDFFileNameFromURL = exports.ProgressBar = exports.EventBus = exports.mozL10n = exports.RendererType = exports.VERTICAL_PADDING = exports.SCROLLBAR_PADDING = exports.MAX_AUTO_SCALE = exports.UNKNOWN_SCALE = exports.MAX_SCALE = exports.MIN_SCALE = exports.DEFAULT_SCALE = exports.DEFAULT_SCALE_VALUE = exports.CSS_UNITS = undefined;
var _pdfjs = require('pdfjs-web/pdfjs'); var _pdfjs = require('./pdfjs');
var CSS_UNITS = 96.0 / 72.0; var CSS_UNITS = 96.0 / 72.0;
var DEFAULT_SCALE_VALUE = 'auto'; var DEFAULT_SCALE_VALUE = 'auto';

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.8.203", "version": "1.8.205",
"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": [

Loading…
Cancel
Save