summaryrefslogtreecommitdiffstats
path: root/lib/generator.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-27 11:15:16 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-27 11:15:16 +0100
commit6125df58340456529cfb180cc62308cc00e4e769 (patch)
tree38cfe330153bc2bb8fcaef18cb446373ee0de0f9 /lib/generator.js
parent99cd3148ba99a7bf5afaa9b1bb51749411de9d18 (diff)
downloadgitbook-6125df58340456529cfb180cc62308cc00e4e769.zip
gitbook-6125df58340456529cfb180cc62308cc00e4e769.tar.gz
gitbook-6125df58340456529cfb180cc62308cc00e4e769.tar.bz2
Add back "page:before" hook
Diffstat (limited to 'lib/generator.js')
-rw-r--r--lib/generator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generator.js b/lib/generator.js
index 8b310e7..4ff1373 100644
--- a/lib/generator.js
+++ b/lib/generator.js
@@ -43,7 +43,7 @@ BaseGenerator.prototype.preparePlugins = function() {
};
// Write a parsed file to the output
-BaseGenerator.prototype.writeParsedFile = function(page, input) {
+BaseGenerator.prototype.convertFile = function(input) {
return Q.reject(new Error("Could not convert "+input));
};