message: Fix bug in notify new version
diff: {
  constructor(versionString)
  {
  - this.parts = versionString.split('.');
  + this.parts = versionString.split('.').map(it => parseInt(it));
  this.versionString = versionString;
  }
  - isPositiveInteger(x)
  - {
  - // http://stackoverflow.com/a/1019526/11236
  - return /^\d+$/.test(x);
  - }
  - validateParts()
  - {
  - for (var i = 0; i < this.parts.length; ++i)
  - {
  - if (!this.isPositiveInteger(this.parts[i]))
  - {
  - return false;
  - }
  - }
  - return true;
  - }
  compareTo(other)
  {
  - if (!this.validateParts() || !other.validateParts())
  - {
  - return CompareResult.incomparable;
  - }
  for (let i = 0; i < this.parts.length; ++i)
  {
  if (other.parts.length === i)
  