From 9a63797aa7fb81454008745d2a1c069ca24339a4 Mon Sep 17 00:00:00 2001 From: Jason Cooke Date: Tue, 18 Jun 2019 16:24:34 +1200 Subject: [PATCH] docs: fix typo (#1864) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 306267b..8b63c73 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ support [older browsers](http://caniuse.com/#search=promise) that do not nativel To render an `element` with html2canvas, simply call: ` html2canvas(element[, options]);` -The function returns a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) containing the `` element. Simply add a promise fullfillment handler to the promise using `then`: +The function returns a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) containing the `` element. Simply add a promise fulfillment handler to the promise using `then`: html2canvas(document.body).then(function(canvas) { document.body.appendChild(canvas);