mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Introduces UMD headers to the web/ folder.
This commit is contained in:
parent
1c253e6e1d
commit
006e8fb59d
39 changed files with 836 additions and 281 deletions
|
@ -15,6 +15,16 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
(function (root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define('pdfjs-web/pdf_presentation_mode', ['exports'], factory);
|
||||
} else if (typeof exports !== 'undefined') {
|
||||
factory(exports);
|
||||
} else {
|
||||
factory((root.pdfjsWebPDFPresentationMode = {}));
|
||||
}
|
||||
}(this, function (exports) {
|
||||
|
||||
var DELAY_BEFORE_RESETTING_SWITCH_IN_PROGRESS = 1500; // in ms
|
||||
var DELAY_BEFORE_HIDING_CONTROLS = 3000; // in ms
|
||||
var ACTIVE_SELECTOR = 'pdfPresentationMode';
|
||||
|
@ -389,3 +399,6 @@ var PDFPresentationMode = (function PDFPresentationModeClosure() {
|
|||
|
||||
return PDFPresentationMode;
|
||||
})();
|
||||
|
||||
exports.PDFPresentationMode = PDFPresentationMode;
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue