Skip to content

Commit 74653fa

Browse files
committed
fix
1 parent 90b40d0 commit 74653fa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

react-pdf/Reader.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ import Up from './components/up'
1010
import './Reader.less'
1111

1212
const ReactContainer = document.querySelector('#react-container')
13-
// const PDFJS = pdfjs as any
14-
15-
// PDFJS.GlobalWorkerOptions.workerSrc = `//cdnjs.cloudflare.com/ajax/libs/pdf.js/${PDFJS.version}/pdf.worker.js`
1613
const version = '2.1.266'
1714
const options = {
1815
cMapUrl: `//cdn.jsdelivr.net/npm/pdfjs-dist@${version}/cmaps/`,

0 commit comments

Comments
 (0)