mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Moves global scope out of shared/util.
This commit is contained in:
parent
81172b571f
commit
57bc3296f4
9 changed files with 31 additions and 18 deletions
|
@ -16,12 +16,6 @@
|
|||
import './compatibility';
|
||||
import { ReadableStream } from './streams_polyfill';
|
||||
|
||||
var globalScope =
|
||||
(typeof window !== 'undefined' && window.Math === Math) ? window :
|
||||
// eslint-disable-next-line no-undef
|
||||
(typeof global !== 'undefined' && global.Math === Math) ? global :
|
||||
(typeof self !== 'undefined' && self.Math === Math) ? self : this;
|
||||
|
||||
var FONT_IDENTITY_MATRIX = [0.001, 0, 0, 0.001, 0, 0];
|
||||
|
||||
const NativeImageDecoding = {
|
||||
|
@ -1696,7 +1690,6 @@ export {
|
|||
deprecated,
|
||||
getLookupTableFactory,
|
||||
getVerbosityLevel,
|
||||
globalScope,
|
||||
info,
|
||||
isArray,
|
||||
isArrayBuffer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue