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/generators/base.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/generators/base.js')
-rw-r--r-- | lib/generators/base.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/generators/base.js b/lib/generators/base.js deleted file mode 100644 index 0fc0be9..0000000 --- a/lib/generators/base.js +++ /dev/null @@ -1,29 +0,0 @@ - -function Generator(output, type) { - this.output = output; - this.book = output.book; - this.type = type; -} - -// Prepare the generation -Generator.prototype.prepare = function() { - -}; - -// Copy an asset file (non-parsable), ex: images, etc -Generator.prototype.writeAsset = function(filename) { - -}; - -// Write a page (parsable file), ex: markdown, etc -Generator.prototype.writePage = function(page) { - -}; - -// Finish the generation -Generator.prototype.finish = function() { - -}; - - -module.exports = Generator; |