mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Hotfix introduced client error on commit 3a8d72d
Noticed by @qistoph https://github.com/MichMich/MagicMirror/pull/623#issuecomment-273505208
This commit is contained in:
@@ -416,6 +416,10 @@ Module.register = function (name, moduleDefinition) {
|
||||
Module.definitions[name] = moduleDefinition;
|
||||
};
|
||||
|
||||
exports._test = {
|
||||
cmpVersions: cmpVersions
|
||||
if (typeof exports != "undefined") { // For testing purpose only
|
||||
// A good a idea move the function cmpversions a helper file.
|
||||
// It's used into other side.
|
||||
exports._test = {
|
||||
cmpVersions: cmpVersions
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user