diff --git a/src/display/global.js b/src/display/global.js index 926f3d393..812456002 100644 --- a/src/display/global.js +++ b/src/display/global.js @@ -34,8 +34,6 @@ import { Metadata } from './metadata'; import { renderTextLayer } from './text_layer'; import { SVGGraphics } from './svg'; -var isWorker = (typeof window === 'undefined'); - // The global PDFJS object is now deprecated and will not be supported in // the future. The members below are maintained for backward compatibility // and shall not be extended or modified. If the global.js is included as @@ -306,6 +304,5 @@ PDFJS.UnsupportedManager = _UnsupportedManager; export { globalScope, - isWorker, PDFJS, };