From 85e30f452001b5d02a617da21c72e12b206dfdb4 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 6 Mar 2014 10:45:27 +0000 Subject: Add .done() to README.md example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 39a2fc6..df4f2da 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,8 @@ mammoth.convertToHtml({path: "path/to/document.docx"}) .then(function(result){ var html = result.value; // The generated HTML var messages = result.messages; // Any messages, such as warnings during conversion - }); + }) + .done(); ``` ### Custom style map -- cgit v1.2.3