diff --git a/config.js b/config.js index 9e6eb4b..fa8261d 100644 --- a/config.js +++ b/config.js @@ -31,11 +31,9 @@ function AppConfig() { config.set(defaults); } } - - // this.store = Object.assign(defaults, config.store) || {}; + this.config = config; - Object.defineProperty(this, 'store', { get : function() { return Object.assign(defaults, config.store) || {};