Add minimum client version check code (#2), modify critical error handling,

bump version to 1.5.2
master
Skylar Ittner 8 years ago
parent a5bb6fbca9
commit 11bcba42fd

@ -56,6 +56,7 @@ function onDeviceReady() {
}); });
} }
/** /**
* Compare two version strings. * Compare two version strings.
* http://stackoverflow.com/a/16187766/2534036 * http://stackoverflow.com/a/16187766/2534036
@ -79,6 +80,7 @@ function compareVersions(a, b) {
return segmentsA.length - segmentsB.length; return segmentsA.length - segmentsB.length;
} }
function serverProblemsDialog(errmsg) { function serverProblemsDialog(errmsg) {
window.location = "servererror.html?errmsg=" + errmsg; window.location = "servererror.html?errmsg=" + errmsg;
} }