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
|
@ -13,11 +13,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { buildGetDocumentParams } from "./test_utils";
|
||||
import { EventBus } from "../../web/ui_utils";
|
||||
import { getDocument } from "../../src/display/api";
|
||||
import { PDFFindController } from "../../web/pdf_find_controller";
|
||||
import { SimpleLinkService } from "../../web/pdf_link_service";
|
||||
import { buildGetDocumentParams } from "./test_utils.js";
|
||||
import { EventBus } from "../../web/ui_utils.js";
|
||||
import { getDocument } from "../../src/display/api.js";
|
||||
import { PDFFindController } from "../../web/pdf_find_controller.js";
|
||||
import { SimpleLinkService } from "../../web/pdf_link_service.js";
|
||||
|
||||
class MockLinkService extends SimpleLinkService {
|
||||
constructor() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue