mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-04 06:46:05 +00:00
Merge pull request #633 from roramirez/tests
Hotfix introduced client error on commit 3a8d72d
This commit is contained in:
commit
1c585815a1
@ -416,6 +416,10 @@ Module.register = function (name, moduleDefinition) {
|
|||||||
Module.definitions[name] = moduleDefinition;
|
Module.definitions[name] = moduleDefinition;
|
||||||
};
|
};
|
||||||
|
|
||||||
exports._test = {
|
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
|
cmpVersions: cmpVersions
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user