mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Move the getXfaHtmlForPrinting
helper function to its own file (PR 13411 follow-up)
The `web/ui_utils.js` file should be usable from basically anywhere in the `web/`-folder, hence it should ideally not have any dependecies on its own and particularily *not* onces that pull in entire (large) factories.
This commit is contained in:
parent
9441245320
commit
eb94d71b71
4 changed files with 44 additions and 28 deletions
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
import { RenderingCancelledException, shadow } from "pdfjs-lib";
|
||||
import { getXfaHtmlForPrinting } from "./ui_utils.js";
|
||||
import { getXfaHtmlForPrinting } from "./print_utils.js";
|
||||
import { PDFPrintServiceFactory } from "./app.js";
|
||||
|
||||
// Creates a placeholder with div and canvas with right size for the page.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue