I\'ve attached multiple functions in multiple files to $(document).ready and would like to attach a single function to happen before them as either the first that $(document).re
$(document).ready()
or simply $(function(){})
is just an .addEventListener
implementation (well not exactly, but close), meaning you can add listeners before and after.
$(document).ready(listener); // goes off first.
$(document).ready(otherListener); // goes off 2nd.
And so on, it's not hard to sandwich functions.
There's no need to hack .ready()
imo.