[Project_owners] beta edition version
Nickolay Ponomarev
asqueella at gmail.com
Thu Feb 7 22:52:33 PST 2008
On Feb 8, 2008 12:13 AM, Malte Kraus <firefox at maltekraus.de> wrote:
>
> joe ertaba schrieb:
> > I think 0.2b is bigger than 0.2 !?
> it isn't for Firefox:
> var comp = Components.classes["@mozilla.org/xpcom/version-comparator;1"].
> createInstance(Components.interfaces.nsIVersionComparator);
> comp.compare("0.3", "0.2"); // 1 => 0.3 bigger than 0.2
> comp.compare("0.2b", "0.2"); // -1 => 0.2b lower than 0.2
>
General documentation for all toolkit-based apps:
http://developer.mozilla.org/en/docs/Toolkit_version_format
Nickolay
More information about the Project_owners
mailing list