I cam across these related tickets:
http://dev.rubyonrails.org/ticket/6722
http://dev.rubyonrails.org/ticket/9871
I think it would probably be critical for many use cases that the
scripts load synchronously in order of appearance after an element is
updated. Maybe another value for the
Thanks for all your advices T.J.! I read some snippets of the Proto-
Scripty wiki and my dynamic script loading was in the right way.
It doesn't process them if you assign them as strings via innerHTML,
which is what your modified update would do (Element#update uses
innerHTML behind the
Hi,
Is there a work around to force Prototype to leave JavaScript source
files inclusions after Ajax updates?
Nothing built into Prototype. If you search through Lighthouse[1] or
this group (I forget which) there was a discussion about possibly
adding that at some stage. In the meantime, I
Hi,
Yes, I could control this as output mostly comes from source files
that have been automatically generated (MDA approach) but I think this
solution would break browser file cache.
It wouldn't, but you couldn't have known that as you couldn't see the
wiki article. :-)
I couldn't check