summaryrefslogtreecommitdiffstats
path: root/lib/plugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugin.js')
-rw-r--r--lib/plugin.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plugin.js b/lib/plugin.js
index 99e8402..ec55513 100644
--- a/lib/plugin.js
+++ b/lib/plugin.js
@@ -78,7 +78,7 @@ Plugin.prototype._getResources = function(base) {
// Dynamic function
if(typeof book === "function") {
- // Call giving it the context of our generator
+ // Call giving it the context of our book
return Q().then(book.bind(this.book));
}
@@ -159,7 +159,7 @@ Plugin.prototype.resolveFile = function(filename) {
// Resolve file path
Plugin.prototype.callHook = function(name, data) {
- // Our generator will be the context to apply
+ // Our book will be the context to apply
var context = this.book;
var hookFunc = this.infos.hooks? this.infos.hooks[name] : null;
@@ -198,7 +198,7 @@ Plugin.prototype.copyAssets = function(out, options) {
// Extract data from a list of plugin
-Plugin.normalize = function(plugins, generator, options) {
+Plugin.normalize = function(plugins, options) {
options = _.defaults(options || {}, {
assetsBase: "book"
});