Change amd to cjs path in ES6 modules

This commit is contained in:
Yury Delendik 2017-04-14 10:32:36 -05:00
parent 74b31ab18f
commit 8e681ce3e2
27 changed files with 82 additions and 82 deletions

View file

@ -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 ' +