mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-19 07:32:34 +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();
|