From 2375296e67cf813db2076877ba64c0d3dfae2b3f Mon Sep 17 00:00:00 2001 From: Samy Pesse Date: Mon, 15 Feb 2016 22:39:26 +0100 Subject: [PATCH] Add base _setup for pluginslist --- lib/plugins/index.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/plugins/index.js b/lib/plugins/index.js index f31f1b229..ac595ac69 100644 --- a/lib/plugins/index.js +++ b/lib/plugins/index.js @@ -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;