react-pdf-annotator
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -258,8 +258,3 @@ "use strict"; | ||
this.linkService.setViewer(this.viewer); | ||
console.log(this.viewer); | ||
this.viewer.setDocument(pdfDocument); | ||
this.linkService.setDocument(pdfDocument); | ||
@@ -266,0 +261,0 @@ |
@@ -43,3 +43,2 @@ "use strict"; | ||
_pdfjsDist.PDFJS.getDocument(url).then(function (pdfDocument) { | ||
console.log("Got!", pdfDocument); | ||
_this2.setState({ | ||
@@ -46,0 +45,0 @@ pdfDocument: pdfDocument |
{ | ||
"name": "react-pdf-annotator", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Set of React components for PDF annotation", | ||
@@ -17,3 +17,3 @@ "main": "lib/index.js", | ||
"deploy": "npm run build && gh-pages --dist ./demo/dist --branch gh-pages", | ||
"prepublish": "npm run build && npm run copy-files", | ||
"prepublishOnly": "npm run build && npm run copy-files", | ||
"prettier": "prettier --write 'src/**/*.js' 'demo/src/**/*.js'" | ||
@@ -42,11 +42,4 @@ }, | ||
"license": "MIT", | ||
"keywords": [ | ||
"pdf", | ||
"highlight", | ||
"annotator", | ||
"react-component" | ||
], | ||
"files": [ | ||
"lib" | ||
], | ||
"keywords": ["pdf", "highlight", "annotator", "react-component"], | ||
"files": ["lib"], | ||
"directories": { | ||
@@ -53,0 +46,0 @@ "lib": "lib" |
## react-pdf-annotator | ||
⚠️ Work in progress | ||
``` | ||
npm install react-pdf-annotator | ||
``` | ||
@@ -5,0 +7,0 @@ `react-pdf-annotator` provides annotation experience for PDF documents on web |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41
104536
1430