summaryrefslogtreecommitdiffstats
path: root/lib/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/index.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/plugins/index.js b/lib/plugins/index.js
index 33a2047..f31f1b2 100644
--- a/lib/plugins/index.js
+++ b/lib/plugins/index.js
@@ -10,8 +10,9 @@ PluginsManager is an interface to work with multiple plugins at once:
- Call hooks for all plugins, etc
*/
-function PluginsManager(book) {
- this.book = book;
+function PluginsManager(output) {
+ this.output = output;
+ this.book = output.book;
this.plugins = [];
}
@@ -56,6 +57,4 @@ PluginsManager.prototype.load = function(name) {
});
};
-
-
module.exports = PluginsManager;