1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Move additional worker-thread only functions from src/shared/util.js and into a src/core/core_utils.js instead

This moves the `log2`, `readInt8`, `readUint16`, `readUint32`, and `isSpace` functions since they are only used in the worker-thread.
This commit is contained in:
Jonas Jenwald 2020-01-07 19:59:16 +01:00
parent 794744c3fa
commit 3f031f69c2
12 changed files with 82 additions and 99 deletions

View file

@ -23,7 +23,6 @@ import {
isArrayEqual,
isBool,
isNum,
isSpace,
isString,
OPS,
shadow,
@ -36,6 +35,7 @@ import { Catalog, ObjectLoader, XRef } from "./obj.js";
import { Dict, isDict, isName, isStream, Ref } from "./primitives.js";
import {
getInheritableProperty,
isSpace,
MissingDataException,
XRefEntryException,
XRefParseException,