Thanks for suggestions / example, I already use similar workaround but still
it's workaround
1) is expected behavior, and actually it was working that way till some
regression

regards
--
Irakli Gozalishvili
Web: http://rfobic.wordpress.com/
Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands


On Tue, Mar 24, 2009 at 12:59 AM, satyr <[email protected]> wrote:

>
> e.g.:
>
> var noun = {
>  _name : 'timer',
>  suggest : function(text, html, callback) {
>    for each(var i in [1, 2, 3, 4]) with({i:i})
>      Utils.setTimeout(function suggestAsync(){
>        callback(CmdUtils.makeSugg(i +'', null, i));
>      }, i * 1e3);
>    return [{text: '-', summary: '...loading'.italics()}];
>    // ^ must provide a non empty `text' because of [parser.js L367]
>    // (which should check summary instead of text)
>  }
> };
> CmdUtils.CreateCommand({
>  name: 'test',
>  icon: 'chrome://ubiquity/skin/icons/favicon.ico',
>  takes: {_: noun},
>  modifiers: {_: noun},
>  execute: function(dob, mod){},
>  preview: function(pbl, dob, mod){},
> });
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to