[Project_owners] beta edition version

Malte Kraus firefox at maltekraus.de
Thu Feb 7 13:13:26 PST 2008


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


More information about the Project_owners mailing list