[Project_owners] beta edition version

Jesper Staun Hansen jesper at selvet.dk
Thu Feb 7 13:16:06 PST 2008


Malte Kraus 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
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>
>
>   


There's a function that compares versions against the extension .rdf and 
the update.rdf on the web?
Well, that might be why my updates doesn't work these days. Wrong 
versioning.



More information about the Project_owners mailing list