From 279073b3f7d9ad6b270f6f3b1464db6039169f06 Mon Sep 17 00:00:00 2001 From: Erik Koopmans Date: Thu, 14 Dec 2017 22:20:02 +1100 Subject: [PATCH] Add es6-promise to dependency info --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3809cea..d553fa0 100644 --- a/README.md +++ b/README.md @@ -71,11 +71,12 @@ These options are limited to the available settings for [HTMLCanvasElement.toDat ## Dependencies -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. +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. 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: ```html +