Greg,
On 7/23/02 6:38 PM, "Greg Weinger" <[EMAIL PROTECTED]> wrote:
> How do you get a flow javascript to reload without restarting catalina?
>
> Long ago Ovidiu Predescu wrote:
>
>>> The script is reloaded only when you invoke a top level function in it. If
>>> you simply restart a continuation, this will use the old code loaded by the
>>> code.
>
> Could someone please elaborate? What constitutes a top level function?
>
> In the example calc.js I add a debug line:
>
> function calculator(uriPrefix)
> {
> print("WAAAAHSABI!");
>
> . . . .
>
>
> I go back in my browser and re-enter the program, getting a new continuation,
> but
> still no debug output unless I restart. I'm using today's dev snapshot with
> jdk1.4.
Um, I've noticed this problem as well in the latest CVS. I'll check out to
see what's going on.
Thanks for reporting it.
Regards,
--
Ovidiu Predescu <[EMAIL PROTECTED]>
http://www.geocities.com/SiliconValley/Monitor/7464/ (Apache, GNU, Emacs...)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]