James Walker wrote:
It's a good move, for sure. I promise to not always email this list
with "well, Drupal does..." - but our drupal_add_js feature supports a
few different modes - <head> vs. "closure" inclusion for inline JS -
which is a nice approach imnsho. :-)
All right. I did this: I moved the default scripts to just before </body>.

As a steam release, I added a pair of events that fire just after <head> and just before </head>. If you /really/ need a script to appear inside there, you now have a couple of options for it.

But the default events for adding scripts fire at the end of the body.

-Evan

--
Evan Prodromou
CEO, StatusNet, Inc.
[email protected] - http://identi.ca/evan - +1-514-554-3826

_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to