Hotfix introduced client error on commit 3a8d72d

Noticed by @qistoph
https://github.com/MichMich/MagicMirror/pull/623#issuecomment-273505208
This commit is contained in:
Rodrigo Ramírez Norambuena 2017-01-18 13:47:45 -03:00
parent a82fcce734
commit b8917a3c0e

View File

@ -416,6 +416,10 @@ Module.register = function (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
}
}