mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +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
|
@ -20,9 +20,9 @@ import {
|
|||
isEvalSupported,
|
||||
shadow,
|
||||
unreachable,
|
||||
} from "../shared/util";
|
||||
import { isDict, isStream } from "./primitives";
|
||||
import { PostScriptLexer, PostScriptParser } from "./ps_parser";
|
||||
} from "../shared/util.js";
|
||||
import { isDict, isStream } from "./primitives.js";
|
||||
import { PostScriptLexer, PostScriptParser } from "./ps_parser.js";
|
||||
|
||||
let IsEvalSupportedCached = {
|
||||
get value() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue