code: function Semver(string) {
      Semver.assert(string);
      var parts = string.split('.');
      this.major = parseInt(parts[0], 10);
      this.minor = parseInt(parts[1], 10);
      this.patch = parseInt(parts[2], 10);
  }
docs: Semver class represents component version defined in the {@link http://semver.org/ Semantic Versioning convention}.
  
  @param string a string with version in correct semver format MAJOR.MINOR.PATCH.
  @constructor