Archive for the ‘IE’ Category

Including dojo the easy (buggy) way

Wednesday, January 10th, 2007

While trying out Dojo using the new easy include method, I found a weird JavaScript bug in IE6:

If you use a document.write() to write two script elements on the page, then instead of running the first script followed by the second script, IE apparently runs them both at the same time. This can cause an error if the second script calls a function that is defined in the first script.

The dojo bug and some test cases are in Bug #2280.