mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
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
1 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue