From 6fd0fcfdb527d9c0d8902a8d9e8333561673e058 Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 31 Oct 2016 20:10:52 +0100 Subject: [PATCH] Update module.js --- js/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/module.js b/js/module.js index 4815895e..37d3f145 100644 --- a/js/module.js +++ b/js/module.js @@ -166,7 +166,7 @@ var Module = Class.extend({ * argument config obejct - Module config. */ setConfig: function (config) { - this.config = Object.assign(this.defaults, config); + this.config = Object.assign({}, this.defaults, config); }, /* socket()