Update module.js

This commit is contained in:
Andreas 2016-10-31 20:10:52 +01:00 committed by GitHub
parent 6da534a961
commit 6fd0fcfdb5

View File

@ -166,7 +166,7 @@ var Module = Class.extend({
* argument config obejct - Module config. * argument config obejct - Module config.
*/ */
setConfig: function (config) { setConfig: function (config) {
this.config = Object.assign(this.defaults, config); this.config = Object.assign({}, this.defaults, config);
}, },
/* socket() /* socket()