mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
b3faa170fb
* Add PDF Preview [SCI-5299]
4 lines
131 B
JavaScript
4 lines
131 B
JavaScript
global.pdfjsLib = require('pdfjs-dist');
|
|
global.pdfjsLibUtils = require('pdfjs-dist/web/pdf_viewer.js');
|
|
|
|
PdfPreview.initCanvas();
|