mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Ensure that all import
and require
statements, in the entire code-base, have a .js
file extension
In order to eventually get rid of SystemJS and start using native `import`s instead, we'll need to provide "complete" file identifiers since otherwise there'll be MIME type errors when attempting to use `import`.
This commit is contained in:
parent
b833f84307
commit
36881e3770
125 changed files with 453 additions and 443 deletions
|
@ -29,13 +29,13 @@ import {
|
|||
UNSUPPORTED_FEATURES,
|
||||
VerbosityLevel,
|
||||
warn,
|
||||
} from "../shared/util";
|
||||
import { clearPrimitiveCaches, Ref } from "./primitives";
|
||||
import { LocalPdfManager, NetworkPdfManager } from "./pdf_manager";
|
||||
import { isNodeJS } from "../shared/is_node";
|
||||
import { MessageHandler } from "../shared/message_handler";
|
||||
import { PDFWorkerStream } from "./worker_stream";
|
||||
import { XRefParseException } from "./core_utils";
|
||||
} from "../shared/util.js";
|
||||
import { clearPrimitiveCaches, Ref } from "./primitives.js";
|
||||
import { LocalPdfManager, NetworkPdfManager } from "./pdf_manager.js";
|
||||
import { isNodeJS } from "../shared/is_node.js";
|
||||
import { MessageHandler } from "../shared/message_handler.js";
|
||||
import { PDFWorkerStream } from "./worker_stream.js";
|
||||
import { XRefParseException } from "./core_utils.js";
|
||||
|
||||
var WorkerTask = (function WorkerTaskClosure() {
|
||||
function WorkerTask(name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue