@toolspack/ttd-pdfjs 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintignore CHANGED
@@ -1,6 +1,6 @@
1
1
  node_modules
2
2
  public
3
- pdf.js
3
+ pdf.worker.min
4
4
  pdf.worker.js
5
5
  pdf.worker.min.js
6
- **/pdf-view/build/*.js
6
+ **/ttd-pdfjs
package/README.md CHANGED
@@ -24,5 +24,6 @@
24
24
  0.0.4: 优化destroy,清空canvas
25
25
  0.0.5: 使用legacy目录否则 chrome88 报错(structuredClone is not defined)
26
26
  0.0.6: 使用legacy目录 渲染有字体显示不完整情况,升级corejs 解决
27
- 0.0.7: closepdf 方法中的 canvas判空
28
- 0.0.8: 添加 updateScale
27
+ 0.0.7: closepdf 方法中的 canvas判空
28
+ 0.0.8: 添加 updateScale
29
+ 0.0.9: bug fixed
package/lib/demo.html CHANGED
@@ -1,8 +1 @@
1
- <meta charset="utf-8">
2
- <title>ttd-pdfjs demo</title>
3
- <script src="./ttd-pdfjs.umd.js"></script>
4
-
5
-
6
- <script>
7
- console.log(ttd-pdfjs)
8
- </script>
1
+ <!doctype html><meta charset="utf-8"><title>ttd-pdfjs demo</title><script src="./ttd-pdfjs.umd.js"></script><script>console.log(ttd-pdfjs)</script>