In the case the command author wants to use it, wouldn't be good to
use something like:
if(CmdUtils.parserVersion && CmdUtils.parserVersion == 2){
// Parser 2 version
} else {
// Parser 1 version
}
?
On Jul 21, 2009, at 2:50 PM, satyr wrote:
>
> "Parser 1 API" itself remains same, so there's no difference wrt
> Parser 1.
>
> The issue is that, if you're targetting 0.1, you can't use new
> features (e.g. CmdUtils.previewList()) and/or updated APIs (e.g.
> Utils.tabs).
>
> On Wed, Jul 22, 2009 at 2:17 AM, "mitcho (Michael 芳貴
> Erlewine)"<[email protected]> wrote:
>> satyr, what exactly is the difference between what 0.1.9 expects and
>> 0.5 Parser 1 expects?
>
> >
--
Fernando Takai
http://twitter.com/fernando_takai
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---