aboutsummaryrefslogtreecommitdiff
path: root/lib/browser.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-04-18 19:58:19 +0100
committerMichael Williamson <mike@zwobble.org>2013-04-18 19:58:19 +0100
commit58d57f995fcf2077c3c4147dfc637cb1759de98b (patch)
tree2a043836f8ef5e7f8ca85d4fb70dd5747df94bb5 /lib/browser.js
parent285e6f01314880f782cedb2770c26c5cf0c0b490 (diff)
Display messages on demo
Diffstat (limited to 'lib/browser.js')
-rw-r--r--lib/browser.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/browser.js b/lib/browser.js
index f2d2f81..de98847 100644
--- a/lib/browser.js
+++ b/lib/browser.js
@@ -17,7 +17,8 @@ function fileInput(inputElement, callback) {
converter.convertToHtml({file: openFile(arrayBuffer)})
.then(callback, function(error) {
callback({error: error});
- });
+ })
+ .done();
};
reader.readAsArrayBuffer(file);