mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 05:05:55 +08:00
5 lines
131 B
JavaScript
5 lines
131 B
JavaScript
|
global.pdfjsLib = require('pdfjs-dist');
|
||
|
global.pdfjsLibUtils = require('pdfjs-dist/web/pdf_viewer.js');
|
||
|
|
||
|
PdfPreview.initCanvas();
|