Fixes AMD name in the web/pdf_viewer.js.
This commit is contained in:
parent
1c0433586e
commit
185a1f45e7
@ -18,12 +18,12 @@
|
||||
(function (root, factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define('pdfjs-dist/web/pdf.components', ['exports', 'pdfjs-dist/build/pdf'],
|
||||
define('pdfjs-dist/web/pdf_viewer', ['exports', 'pdfjs-dist/build/pdf'],
|
||||
factory);
|
||||
} else if (typeof exports !== 'undefined') {
|
||||
factory(exports, require('../build/pdf.js'));
|
||||
} else {
|
||||
factory((root.pdfjsDistWebPDFComponents = {}), root.pdfjsDistBuildPdf);
|
||||
factory((root.pdfjsDistWebPDFViewer = {}), root.pdfjsDistBuildPdf);
|
||||
}
|
||||
}(this, function (exports, pdfjsLib) {
|
||||
'use strict';
|
||||
|
Loading…
x
Reference in New Issue
Block a user