mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Change amd to cjs path in ES6 modules
This commit is contained in:
parent
74b31ab18f
commit
8e681ce3e2
27 changed files with 82 additions and 82 deletions
|
@ -15,8 +15,8 @@
|
|||
|
||||
import {
|
||||
createObjectURL, createValidAbsoluteUrl, PDFJS
|
||||
} from 'pdfjs-web/pdfjs';
|
||||
import { DefaultExternalServices, PDFViewerApplication } from 'pdfjs-web/app';
|
||||
} from './pdfjs';
|
||||
import { DefaultExternalServices, PDFViewerApplication } from './app';
|
||||
|
||||
if (typeof PDFJSDev !== 'undefined' && !PDFJSDev.test('CHROME || GENERIC')) {
|
||||
throw new Error('Module "pdfjs-web/download_manager" shall not be used ' +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue