pmclanahan/remo — comment on commit 5c744ed2ff6700eb0c21d355cd2d00e1c6001257
File: media/js/app.js line 13
By pmclanahan:

I believe that window.load always fires after document.ready. Window.load is supposed to only fire after all binary assets are loaded (images etc.). If window.load fired before document.ready then this would never happen because it's only being attached on document.ready. It's probably fine to use either, but I think nesting them like this could lead to some race condition issues.