On Fri, Jul 10, 2009 at 6:12 PM, Heather <[email protected]>wrote:
> > Atul and I have updated the Command Conversion tutorial to reflect the > addition of CmdUtil.parserVersion. For versions prior to 0.1.9, you > can just check to see if it returns a value. > > if (!CmdUtils.parserVersion || CmdUtils.parserVersion == 1) Wouldn't that be: if (!CmdUtils.parserVersion || CmdUtils.parserVersion() == 1) ? (notice the "()") -- cers / Christian Sonne > > //parser 1 command here > else > //parser 2 command here > > > https://wiki.mozilla.org/Labs/Ubiquity/Parser_2_API_Conversion_Tutorial#Supporting_both_Parser_1_and_Parser_2_in_Your_Command_Feed > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
