aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-03-06 10:45:27 +0000
committerMichael Williamson <mike@zwobble.org>2014-03-06 10:45:27 +0000
commit85e30f452001b5d02a617da21c72e12b206dfdb4 (patch)
tree18343e7c7807b00aff86232e1b1430f1e5041e85
parent2428f14e88ff13bcd1ebc2d03eca765ccd1e191c (diff)
Add .done() to README.md example
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
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