diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-02-16 23:30:08 +0100 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-02-16 23:30:08 +0100 |
commit | db3d21db49a7260df03ae987b58c495178193dde (patch) | |
tree | 06d14b1dd71f0ba12c03b54986e6bb3dbf3aa5c3 /lib/plugins | |
parent | ca85c0ecf35eb2265b35ae480fbe34b12cf4bafe (diff) | |
download | gitbook-db3d21db49a7260df03ae987b58c495178193dde.zip gitbook-db3d21db49a7260df03ae987b58c495178193dde.tar.gz gitbook-db3d21db49a7260df03ae987b58c495178193dde.tar.bz2 |
Start commands for plugins installation
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/index.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/plugins/index.js b/lib/plugins/index.js index ac595ac..14a323a 100644 --- a/lib/plugins/index.js +++ b/lib/plugins/index.js @@ -2,7 +2,7 @@ var _ = require('lodash'); var Promise = require('../utils/promise'); var BookPlugin = require('./plugin'); - +var registry = require('./registry'); /* PluginsManager is an interface to work with multiple plugins at once: @@ -13,6 +13,7 @@ PluginsManager is an interface to work with multiple plugins at once: function PluginsManager(output) { this.output = output; this.book = output.book; + this.log = this.book.log; this.plugins = []; } @@ -62,4 +63,9 @@ PluginsManager.prototype._setup = function(plugin) { }; +// Install all plugins for the book +PluginsManager.prototype.install = function() { + +}; + module.exports = PluginsManager; |