Set default config for all plugins

This commit is contained in:
Samy Pessé
2015-10-13 15:05:46 +02:00
parent afb5ce71ce
commit 54c12fea89
+1 -1
View File
@@ -231,7 +231,7 @@ Plugin.prototype.copyAssets = function(out, base) {
// Get config from book
Plugin.prototype.getConfig = function() {
return this.book.config.get('pluginsConfig.'+this.reducedName());
return this.book.config.get('pluginsConfig.'+this.reducedName(), {});
};
// Set configuration for this plugin