diff options
Diffstat (limited to 'lib/plugins/index.js')
-rw-r--r-- | lib/plugins/index.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/plugins/index.js b/lib/plugins/index.js index f31f1b2..ac595ac 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; |