We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c61a03 commit 3fbbb59Copy full SHA for 3fbbb59
README.md
@@ -39,7 +39,7 @@ const RENDER_OPTIONS = {
39
};
40
41
pdfjsLib.GlobalWorkerOptions.workerSrc = 'pdf.worker.js';
42
-PDFJSAnnotate.setStoreAdapter(PDFJSAnnotate.LocalStoreAdapter);
+PDFJSAnnotate.setStoreAdapter(new PDFJSAnnotate.LocalStoreAdapter());
43
44
pdfjsLib.getDocument(RENDER_OPTIONS.documentId).promise.then((pdf) => {
45
RENDER_OPTIONS.pdfDocument = pdf;
0 commit comments