getsentry/raven-js — pull request #51 by dcramer (2012-12-18 07:41:42+00:00)
Title: Add basic patcher code (inspired by rescuejs)

I'd like to get some automated tests in here yet, but the gist of this is to try and patch the following:

- window.setTimeout
- window.setInterval
- $()
- jQuery events

I'm not sure if theres any other good entry points to patch, and if we use TraceKit it will more or less do all of this for us as well.