mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +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();
|