backbone-directory
backbone-directory copied to clipboard
[jquerymobile] why document.ready event
In the jquerymobile implementation the app is bootstrapped in main.js using
$(document).ready(function () { .. }
However the JQM docs state clearly to not use $(document).ready() but use $(document).bind('pageinit') instead.
Is there any (good) reason why you are using $(document).ready()?