Merge pull request #633 from roramirez/tests

Hotfix  introduced client error on commit  3a8d72d
This commit is contained in:
Michael Teeuw 2017-01-21 11:57:31 +01:00 committed by GitHub
commit 1c585815a1

View File

@ -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
}
}