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
> [email protected]
> 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.
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners