Would love to know (and if this works out of the box, what's to prevent cross-domain scripts from communicating with each other by raising exceptions?)
There's an argument to be made for attaching event handlers any way besides using jQuery would be bad practice, but not waiting for .ready() to fire is totally normal for sites practicing Progressive Enhancement that put all the <script/> tags at the end of the <body/>.
1. window.onerror gives you no backtrace
2. hooking into jQuery.event.add lets us tell you "this error happened when the user clicked that button".
We've not yet implemented the UI for 2. (48 hours is not so long as we thought!); but I remain convinced that suitable integration with various frameworks is a much better developer experience than trying to rely on just the error message. Being able to see both the source code where the exception happened (see http://rescuejs.com/assets/screen_341.png) and the user context in which it happens makes it considerably easier to fix the problem.
Not only does it log stacktraces, but it also breaks Firebug. And you'll find out that most of your exceptions end up coming from JS injected by shady toolbars and malware on people's systems :-(.
Of course minified code is also usable, however it makes things just that little bit more difficult for rip off artists.
I'm all for free and open software, but some aren't, and they're free to feel that way.
True, but in the mean time you can amuse yourself with hilarious variable names:
http://media.admob.com/gmsg.js => http://paste.ubuntu.com/1205328/
Or you can be lucky enough to find unobfuscated versions anyway, regardless of source maps:
.. well, it was working yesterday.
Over the weekend we spent a few hours trying to hook source maps into the asset pipeline for Rails based on https://github.com/sstephenson/sprockets/pull/311 and upgrading the 'uglifier' rubygem to work with UglifyJS2. We didn't manage to get it quite working within the time limit, but we'll try and push our work-in-progress upstream to get this ball moving again.