From 6bc3e1fb930a8d2239be4785cf800b021d40e30b Mon Sep 17 00:00:00 2001
From: Jonas Jenwald <jonas.jenwald@gmail.com>
Date: Tue, 13 Feb 2018 14:24:44 +0100
Subject: [PATCH] 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`.
---
 src/display/global.js | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/display/global.js b/src/display/global.js
index a7a99f5fb..23627c439 100644
--- a/src/display/global.js
+++ b/src/display/global.js
@@ -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) {