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

bump version to 1.5.2
This commit is contained in:
Skylar Ittner 2016-09-13 14:45:00 -06:00
parent a5bb6fbca9
commit 11bcba42fd

View File

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