Are you guys making sure to do a check first to see if the DOM has already been loaded before generating this hack? If not, I'm afraid the approach will break in cases where the lib gets loaded on demand. Please test this well, and don't just say "well we never intended for this lib to be loaded on demand" :)
On 9/28/07, Ihárosi Wiktor <[EMAIL PROTECTED]> wrote: > > > Tobie Langel wrote: > > yup, we're going to correct this asap. > >> I believe the error is from this line (4014) in the latest beta (1.6) > >> "src='://javascript:void(0)'><\/script>"); > >> It should read: > >> "src='javascript:void(0)'><\/script>"); > >> Anyone else notice this? > > there was another thread that discuss this. > > http://groups.google.com/group/prototype-core/browse_thread/thread/595cc8af97ca4d38/36348e09d6f579da?hl=en&lnk=gst&q=bug%3F&rnum=5 > > and src shouldn't contain 'javascript' at all. > > base on dean edward's base2 the correct solution is: > > document.write("<script id=__ready defer src=//:><\/script>"); > > the original source code: > http://base2.googlecode.com/svn/trunk/lib/src/base2-dom.js > > hope this helps. > > wiktor > > > > -- Ryan Gahl Manager, Senior Software Engineer Nth Penguin, LLC http://www.nthpenguin.com -- Architect WebWidgetry.com / MashupStudio.com Future Home of the World's First Complete Web Platform -- Inquire: 1-262-951-6727 Blog: http://www.someElement.com LinkedIn Profile: http://www.linkedin.com/in/ryangahl --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---
