Re:Don't wait for "DOM ready" for your app to start
by MatthewPhillips on Friday June 08, 2012 @09:58PM
(#4086930)
You can do a lot without accessing the DOM. Assuming you have a real app, and not just a circus of jquery event handlers, then you probably have prototypes to instantiate, perhaps some models to load, etc.
The post is referring back to the old jquery advice of "put everything in $(document).ready".
I guess the assumption here is that your script tags are placed at the end of the document - because if your scripts are placed in the <head> and they try to do things like getElementById (which does not "rely on CSS") before the DOM has been parsed, you'll definitely get an error.