Add base _setup for pluginslist

This commit is contained in:
Samy Pesse
2016-02-15 22:39:26 +01:00
parent b4fcd2da14
commit 2375296e67
+8 -3
View File
@@ -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;