From 21ab7c6d791e68e2c3e2884bc5c3ab2455f398d9 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 4 Feb 2015 18:43:56 +0000 Subject: Create separate writers module --- lib/writers/html-writer.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'lib/writers/html-writer.js') 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(); } } -- cgit v1.2.3