diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-02-04 18:43:56 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-02-04 18:43:56 +0000 |
| commit | 21ab7c6d791e68e2c3e2884bc5c3ab2455f398d9 (patch) | |
| tree | e52c9034e09e4977b3ca5b321c4507d259de07af /lib/writers/html-writer.js | |
| parent | b2ccfa5cc2cd4d7f8f80f0555e2586387375a98e (diff) | |
Create separate writers module
Diffstat (limited to 'lib/writers/html-writer.js')
| -rw-r--r-- | lib/writers/html-writer.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/writers/html-writer.js b/lib/writers/html-writer.js index 33441cb..f1761c9 100644 --- a/lib/writers/html-writer.js +++ b/lib/writers/html-writer.js @@ -5,15 +5,9 @@ exports.writer = writer; function writer(options) { options = options || {}; - if(options.prettyPrint) { + if (options.prettyPrint) { return prettyWriter(); - } - else if(options.markdown) { - var markdown = require("./markdown-writer"); - - return markdown.writer(); - } - else { + } else { return simpleWriter(); } } |
