I've just updated the wiki page to reflect this. - Blair
On 27/11/2008 3:04 AM, Abimanyu Raja wrote: > Also, you need to have quotes when your name is a reserved keyword. > Since, "in" & "with" are reserved, you're right that we need to have > quotes around them. > > 2008/11/26 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > > It isnt when your key is a single word ("with" is the key here). > However, you can have a key that looks like the following: > > takes: {"key word": noun_arb_text}, > > in which case it needs to be surrounded with double quotes. > > > > On Wed, Nov 26, 2008 at 1:09 PM, Fernando Takai > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > tlob, > > It's not obligatory to put " " on a map's keys on javascript. > > On 11/26/08 8:25 AM, tlob wrote: > > > > https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial#Replace:_Commands_With_Multiple_Arguments > > > > the line: > > modifiers: {with: noun_arb_text, in: noun_arb_text}, > > > > shoud be: > > modifiers: {"with": noun_arb_text, "in": noun_arb_text}, > > > > correct? > > > > f not please explain me, because I am a beginner... ;-) > > cheers > > > > > > > -- > Fernando "Takai" > http://flickr.com/photos/supeertakai > http://fernandotakai.jaiku.com > > Get Ubiquity: https://wiki.mozilla.org/Labs/Ubiquity/ > > > > > > > -- > Mayuresh > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
