mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
[api-major] Remove the SINGLE_FILE
build target
Please note that this build target, and the resulting `build/pdf.combined.js` file, is equivalent to setting the `PDFJS.disableWorker` option to `true` which is a performance footgun.
This commit is contained in:
parent
55e3f97aa9
commit
c56f3f04dd
4 changed files with 7 additions and 40 deletions
|
@ -25,8 +25,7 @@ var SVGGraphics = function() {
|
|||
throw new Error('Not implemented: SVGGraphics');
|
||||
};
|
||||
|
||||
if (typeof PDFJSDev === 'undefined' ||
|
||||
PDFJSDev.test('GENERIC || SINGLE_FILE')) {
|
||||
if (typeof PDFJSDev === 'undefined' || PDFJSDev.test('GENERIC')) {
|
||||
|
||||
var SVG_DEFAULTS = {
|
||||
fontStyle: 'normal',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue