look at ensure.js

On 16 окт, 20:22, SWilk <[EMAIL PROTECTED]> wrote:
> Hey,
>
> T.J. wrote a How-To on the wiki based on todays thread:
>
> http://proto-scripty.wikidot.com/prototype:how-to-load-scripts-dynami...
>
> I just have one question regarding the how-to:
>
> <quote>
> Here's the dynamic.js file:
>
> scriptLoaded('dynamic');
> function coolFeature()
> {
>      alert('Coolness!');}
>
> </quote>
>
> Is it possible that the execution of this included script was paused
> after scriptLoaded() call, but before coolFeauture() is created?
> If so, it would be possible that the script already announced itself,
> but is not ready yet. Then I think the callback should be called after
> all the functions was created, on the bottom of the script.
>
> I do not know the javascript on such basic level so I might be wrong.
>
> --
> Regards,
> SWilk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to