mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Move the isNodeJS
-helper into the src/shared/util.js
file
With the changes in the previous patch the `isNodeJS`-helper no longer needs to live in its own file, which helps get rid of a closure in the *built* files.
This commit is contained in:
parent
67303b16f1
commit
3a886e7264
19 changed files with 34 additions and 48 deletions
|
@ -13,6 +13,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { bytesToString, isNodeJS } from "../../src/shared/util.js";
|
||||
import {
|
||||
DOMCanvasFactory,
|
||||
DOMSVGFactory,
|
||||
|
@ -21,8 +22,6 @@ import {
|
|||
isValidFetchUrl,
|
||||
PDFDateString,
|
||||
} from "../../src/display/display_utils.js";
|
||||
import { bytesToString } from "../../src/shared/util.js";
|
||||
import { isNodeJS } from "../../src/shared/is_node.js";
|
||||
|
||||
describe("display_utils", function () {
|
||||
describe("DOMCanvasFactory", function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue