Fix formatting

This commit is contained in:
Niklas von Hertzen
2017-12-03 17:30:52 +08:00
parent 0b4f922405
commit 0e8a924ea2
3 changed files with 4 additions and 5 deletions

View File

@ -41,7 +41,7 @@ const html2canvas = (element: HTMLElement, conf: ?Options): Promise<*> => {
const ownerDocument = element.ownerDocument;
if (!ownerDocument) {
return Promise.reject(`Provided element is not within a Document`)
return Promise.reject(`Provided element is not within a Document`);
}
const defaultView = ownerDocument.defaultView;