diff options
Diffstat (limited to 'lib/plugins/index.js')
-rw-r--r-- | lib/plugins/index.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/plugins/index.js b/lib/plugins/index.js index 8280542..88762c6 100644 --- a/lib/plugins/index.js +++ b/lib/plugins/index.js @@ -21,6 +21,11 @@ function PluginsManager(book) { _.bindAll(this); } +// Returns the list of plugins +PluginsManager.prototype.list = function() { + return this.plugins; +}; + // Return count of plugins loaded PluginsManager.prototype.count = function() { return _.size(this.plugins); |