Remove version
/build
from the global PDFJS
object
There's no need to expose these properties multiple times, since they're already exported by `src/display/api.js`.
This commit is contained in:
parent
74ffd1d865
commit
6bc3e1fb93
@ -39,11 +39,6 @@ if (!globalScope.PDFJS) {
|
||||
}
|
||||
var PDFJS = globalScope.PDFJS;
|
||||
|
||||
if (typeof PDFJSDev !== 'undefined') {
|
||||
PDFJS.version = PDFJSDev.eval('BUNDLE_VERSION');
|
||||
PDFJS.build = PDFJSDev.eval('BUNDLE_BUILD');
|
||||
}
|
||||
|
||||
PDFJS.pdfBug = false;
|
||||
|
||||
if (PDFJS.verbosity !== undefined) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user