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
|
@ -27,13 +27,13 @@ import {
|
|||
stringToPDFString,
|
||||
Util,
|
||||
warn,
|
||||
} from "../shared/util";
|
||||
import { Catalog, FileSpec, ObjectLoader } from "./obj";
|
||||
import { Dict, isDict, isName, isRef, isStream } from "./primitives";
|
||||
import { ColorSpace } from "./colorspace";
|
||||
import { getInheritableProperty } from "./core_utils";
|
||||
import { OperatorList } from "./operator_list";
|
||||
import { Stream } from "./stream";
|
||||
} from "../shared/util.js";
|
||||
import { Catalog, FileSpec, ObjectLoader } from "./obj.js";
|
||||
import { Dict, isDict, isName, isRef, isStream } from "./primitives.js";
|
||||
import { ColorSpace } from "./colorspace.js";
|
||||
import { getInheritableProperty } from "./core_utils.js";
|
||||
import { OperatorList } from "./operator_list.js";
|
||||
import { Stream } from "./stream.js";
|
||||
|
||||
class AnnotationFactory {
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue