diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-02-12 20:48:51 +0100 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-02-12 20:48:51 +0100 |
commit | 82f94b010f1d77957c9d1b0967dcdd5eafe73c39 (patch) | |
tree | c13607b4bbdf20eb589052dc785edb6e70d6e031 /lib/output/index.js | |
parent | 4555c541a8f98cb6ad4cbec2d7bf85b375dbf505 (diff) | |
download | gitbook-82f94b010f1d77957c9d1b0967dcdd5eafe73c39.zip gitbook-82f94b010f1d77957c9d1b0967dcdd5eafe73c39.tar.gz gitbook-82f94b010f1d77957c9d1b0967dcdd5eafe73c39.tar.bz2 |
Remove concept of generator, to merge it with Output
Diffstat (limited to 'lib/output/index.js')
-rw-r--r-- | lib/output/index.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/output/index.js b/lib/output/index.js new file mode 100644 index 0000000..dcb2ffe --- /dev/null +++ b/lib/output/index.js @@ -0,0 +1,10 @@ +var _ = require('lodash'); +//var EbookGenerator = require('./ebook'); + +module.exports = { + json: require('./json'), + /*website: require('./website'), + pdf: _.partialRight(EbookGenerator, 'pdf'), + mobi: _.partialRight(EbookGenerator, 'mobi'), + epub: _.partialRight(EbookGenerator, 'epub')*/ +}; |