mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
Add base _setup for pluginslist
This commit is contained in:
@@ -52,9 +52,14 @@ PluginsManager.prototype.load = function(name) {
|
||||
.thenResolve(plugin);
|
||||
})
|
||||
|
||||
.then(function(plugin) {
|
||||
that.plugins.push(plugin);
|
||||
});
|
||||
// Setup the plugin
|
||||
.then(this._setup);
|
||||
};
|
||||
|
||||
// Setup a plugin
|
||||
// Register its filter, blocks, etc
|
||||
PluginsManager.prototype._setup = function(plugin) {
|
||||
|
||||
};
|
||||
|
||||
module.exports = PluginsManager;
|
||||
|
||||
Reference in New Issue
Block a user