diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-04-01 15:24:41 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-04-01 15:25:53 +0100 |
| commit | 6fdee5a4b57832682e1c43156b2e075a5552f595 (patch) | |
| tree | a10d7fd5c2a74102a5314678e55f906af8e0c0f5 /lib/index.js | |
| parent | 5c7aa27a92265e0890f3b970ca8102751e0d7e01 (diff) | |
Move document conversion into document-to-html module
Diffstat (limited to 'lib/index.js')
| -rw-r--r-- | lib/index.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/index.js b/lib/index.js index b124b81..146b507 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,9 +1,5 @@ -var q = require("q"); -var _ = require("underscore"); -var ZipFile = require("zipfile").ZipFile; - var docxReader = require("./docx-reader"); -var documents = require("./documents"); +var DocumentConverter = require("./document-to-html").DocumentConverter; var styles = require("./styles"); exports.Converter = Converter; @@ -17,7 +13,7 @@ exports.standardOptions = { }; function Converter(options) { - this._documentConverter = new documents.DocumentConverter(options); + this._documentConverter = new DocumentConverter(options); } Converter.prototype.convertToHtml = function(docxFile) { |
