[Project_owners] Trouble using bind

xeen aka.xeen at gmail.com
Sat Mar 17 01:05:55 PST 2007


I haven't ever heard of that interface, but mightn't
window.setTimeout("function();",1234); be the easier alternative?

On 3/16/07, Martin Mauch <martin.mauch at gmail.com> wrote:
> Hello,
> I am trying to use Prototype in my extension, especially the
> PeriodicalExecuter. Somehow the code works when executed directly from a
> HTML site but hangs when used in an extension. I inserted some debug
> statements and narrowed the problem down to the expression
> this.onTimerEvent.bind(this)
> in PeriodicalExecuter.registerCallback
> Somehow the interpreter does not return from that expression when used for
> extensions.
> Does anyone have any ideas?
> Thanks, Martin
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
>


More information about the Project_owners mailing list