diff options
Diffstat (limited to 'lib/output.js')
-rw-r--r-- | lib/output.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js index 2f40fb6..1c694a1 100644 --- a/lib/output.js +++ b/lib/output.js @@ -11,6 +11,11 @@ function Output(book, type) { this.generator = new generators[type](this, type); } +// Write a file to the output folder +Output.prototype.writeFile = function(filename, buf) { + +}; + // Start the generation, for a parsed book Output.prototype.generate = function() { var that = this; @@ -33,7 +38,7 @@ Output.prototype.generate = function() { if (isPage) { return that.generator.writePage(that.book.getPage(filename)); } else { - return that.generator.writeFile(filename); + return that.generator.writeAsset(filename); } }); }) |