andrew-CSo5BzR24l4AvxtiuMwx3w@public.gmane.org
2007-Oct-29 23:13 UTC
Code dump on Mac Firefox
I ran into a nasty problem with mac Firefox and Safari.
The mac javascript interpreter code dumps the scriptaculous.js file on
load. In the debugger it is complaining about an unterminated string.
I have entered it in the bug system as bug 9951.
I have also found a fix:
The old line (#30 in scriptaculous.js)
document.write(''<script type="text/javascript"
src="''+libraryName
+''"></script>'');
The fix
document.write(''<script type="text/javascript"
src="''+libraryName
+''"><\/script>'');
Note the "/" in the closing script tag.
Anyone else have this problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---
applied this. this followes the same rule as the escape in prototype.js (in the dom:loaded handling). Best, Thomas Am 30.10.2007 um 00:13 schrieb andrew-CSo5BzR24l4AvxtiuMwx3w@public.gmane.org:> > I ran into a nasty problem with mac Firefox and Safari. > > The mac javascript interpreter code dumps the scriptaculous.js file on > load. In the debugger it is complaining about an unterminated string. > > I have entered it in the bug system as bug 9951. > > I have also found a fix: > The old line (#30 in scriptaculous.js) > > document.write(''<script type="text/javascript" src="''+libraryName > +''"></script>''); > > The fix > > document.write(''<script type="text/javascript" src="''+libraryName > +''"><\/script>''); > > Note the "/" in the closing script tag. > > Anyone else have this problem? > > > >Thomas Fuchs JavaScript and Web UI Consulting Seidengasse 39b/21, A 1070 Vienna, Austria +43 664 9134450 :: thomas-9D208sng4xU@public.gmane.org :: AIM: questentier script.aculo.us :: mir.aculo.us --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---