Skip to content

Commit

Permalink
fix dup vars error
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Aug 1, 2024
1 parent f4da134 commit ebf5be7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
"\n",
"const blob = new Blob(); // e.g. from a file input\n",
"\n",
"const loader = new WebPDFLoader(blob, {\n",
"const customBuildLoader = new WebPDFLoader(blob, {\n",
" // you may need to add `.then(m => m.default)` to the end of the import\n",
" pdfjs: () => import(\"pdfjs-dist/legacy/build/pdf.js\"),\n",
"});"
Expand All @@ -280,7 +280,8 @@
"\n",
"const blob = new Blob(); // e.g. from a file input\n",
"\n",
"const loader = new WebPDFLoader(blob, {\n",
"// new Blob(); e.g. from a file input\n",
"const eliminatingExtraSpacesLoader = new WebPDFLoader(new Blob(), {\n",
" parsedItemSeparator: \"\",\n",
"});"
]
Expand Down

0 comments on commit ebf5be7

Please sign in to comment.