aboutsummaryrefslogtreecommitdiff
path: root/lib/index.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-03-29 22:44:29 +0000
committerMichael Williamson <mike@zwobble.org>2013-03-29 22:44:29 +0000
commit785deeefe5e64b0a12786d3d9647e403c320b99e (patch)
tree02dad1eecc0a369f92d888234ce75fe58121e4db /lib/index.js
parentd978f126b9847f45f17f4bd8419236a99bfe99a9 (diff)
Pass options from Converter through to DocumentConverter
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/index.js b/lib/index.js
index 9fd3b16..7f124f5 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -5,8 +5,8 @@ var documents = require("./documents");
exports.Converter = Converter;
-function Converter() {
- this._documentConverter = new documents.DocumentConverter();
+function Converter(options) {
+ this._documentConverter = new documents.DocumentConverter(options);
}
Converter.prototype.convertToHtml = function(docxFile) {