Re:Don't wait for "DOM ready" for your app to start
by nevinera on Saturday June 09, 2012 @08:54AM
(#4087979)
>If you have code that doesn't touch the DOM, then sure, you don't have to wait, but those instances are pretty rare in the real world.
Bootstrapping backbone models/collections (or any other kind of data model prep) is the main use-case. A site that is mostly server-driven with some javascript ux wouldn't usually care about this technique.
Bootstrapping backbone models/collections (or any other kind of data model prep) is the main use-case. A site that is mostly server-driven with some javascript ux wouldn't usually care about this technique.