Skip to content

Commit 279073b

Browse files
committed
Add es6-promise to dependency info
1 parent 621af75 commit 279073b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,12 @@ These options are limited to the available settings for [HTMLCanvasElement.toDat
7171

7272
## Dependencies
7373

74-
html2pdf depends on the external packages [html2canvas](https://github.com/niklasvh/html2canvas) and [jsPDF](https://github.com/MrRio/jsPDF). These dependencies are automatically loaded when using NPM or the bundled package.
74+
html2pdf depends on the external packages [html2canvas](https://github.com/niklasvh/html2canvas), [jsPDF](https://github.com/MrRio/jsPDF), and [es6-promise](https://github.com/stefanpenner/es6-promise). These dependencies are automatically loaded when using NPM or the bundled package.
7575

7676
If using the unbundled `dist/html2pdf.min.js` (or its un-minified version), you must also include each dependency. Order is important, otherwise html2canvas will be overridden by jsPDF's own internal implementation:
7777

7878
```html
79+
<script src="es6-promise.auto.min.js"></script>
7980
<script src="jspdf.min.js"></script>
8081
<script src="html2canvas.min.js"></script>
8182
<script src="html2pdf.min.js"></script>

0 commit comments

Comments
 (0)