mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Move the isAscii
helper function into the worker-thread
Given that this helper function is only used on the worker-thread, there's no reason to duplicate it in both of the `pdf.js` and `pdf.worker.js` files.
This commit is contained in:
parent
2eaa708e3a
commit
e5859e145d
5 changed files with 17 additions and 17 deletions
|
@ -27,7 +27,6 @@ import {
|
|||
FeatureTest,
|
||||
getModificationDate,
|
||||
IDENTITY_MATRIX,
|
||||
isAscii,
|
||||
LINE_DESCENT_FACTOR,
|
||||
LINE_FACTOR,
|
||||
OPS,
|
||||
|
@ -42,6 +41,7 @@ import {
|
|||
collectActions,
|
||||
getInheritableProperty,
|
||||
getRotationMatrix,
|
||||
isAscii,
|
||||
numberToString,
|
||||
stringToUTF16String,
|
||||
} from "./core_utils.js";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue