Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn't a "defer" attribute and waiting for document.DOMContentLoaded be the appropriate way to do this? This would also document the reasons for this and would allow for a decent organization of the document (what the head section is good for). – To me, this is rather late-1990s style, before there were such things as defer and sophisticated DOM events.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: