Laurie Harper schrieb:
Hmm, I thought there were XHTML compliance issues with having <script>
tags in the body? That's why I queried this in the first place :)
Although it appears to work, valid or not.
To my understanding
you can embed scripts in the body in xhtml
but you have to add them as CDATA .
As for the onload etc... there are some issues, I cannot say that I wont
shift the require and includes into the head again or not, but as is it
has to be in the body in certain situations, there is no big deal in it
having it in the body anyway, since the require is rendered only once
anyway, the dojo utils take care of that.
But keeping it in the body would render some dojo components useless, so
I do not have a choice here until it is fixed.
I will try to isolate the problem further, but for now the fix has to do
it, since it does not break anything and follows the guidelines the dojo
people give in their examples (they must be aware of those issues
otherwise they would not have pushed the entire init part into the body)