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:
Jonas Jenwald 2018-02-13 14:24:44 +01:00
parent 74ffd1d865
commit 6bc3e1fb93

View File

@ -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) {