module Ext_Version:A utility class that wrap around a string version ...sig..end
A utility class that wrap around a string version number and provide convenient method to perform comparison. See also: compare. Example:
var version = new Ext.Version('1.0.2beta');
console.log("Version is " + version); // Version is 1.0.2beta
console.log(version.getMajor()); // 1
console.log(version.getMinor()); // 0
console.log(version.getPatch()); // 2
console.log(version.getBuild()); // 0
console.log(version.getRelease()); // beta
console.log(version.isGreaterThan('1.0.1')); // True
console.log(version.isGreaterThan('1.0.2alpha')); // True
console.log(version.isGreaterThan('1.0.2RC')); // False
console.log(version.isGreaterThan('1.0.2')); // False
console.log(version.isLessThan('1.0.2')); // True
console.log(version.match(1.0)); // True
console.log(version.match('1.0.2')); // True
class type t =object..end
class type configs =object..end
class type events =object..end
class type statics =object..end
val get_static : unit -> statics Js.tval static : statics Js.tval compare : Js.js_string Js.t -> Js.js_string Js.t -> Js.number Js.tstatics.compareval getComponentValue : 'a Js.t -> 'b Js.tstatics.getComponentValueval of_configs : configs Js.t -> t Js.tof_configs c casts a config object c to an instance of class tval to_configs : t Js.t -> configs Js.tto_configs o casts instance o of class t to a config object