mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Update module.js
This commit is contained in:
parent
6da534a961
commit
6fd0fcfdb5
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user