Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xcarpentier committed Jul 9, 2020
1 parent 90b40d0 commit 74653fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions react-pdf/Reader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import Up from './components/up'
import './Reader.less'

const ReactContainer = document.querySelector('#react-container')
// const PDFJS = pdfjs as any

// PDFJS.GlobalWorkerOptions.workerSrc = `//cdnjs.cloudflare.com/ajax/libs/pdf.js/${PDFJS.version}/pdf.worker.js`
const version = '2.1.266'
const options = {
cMapUrl: `//cdn.jsdelivr.net/npm/pdfjs-dist@${version}/cmaps/`,
Expand Down

0 comments on commit 74653fa

Please sign in to comment.