From b86fba989edcf4d89c1bbff0342ad51e7a9ecca6 Mon Sep 17 00:00:00 2001 From: Egor Danchenkov Date: Sun, 5 Feb 2017 16:39:48 +0200 Subject: [PATCH] Clean up --- config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) || {};