twitter/bootstrap — pull request #4750 by tcrosen (2012-08-27 15:35:22+00:00)
Title: jQuery 1.8 compatibility fixes

Due to removal of various features in jQuery 1.8, the following changes were necessary:

`jQuery.browser` [#9385](http://bugs.jquery.com/ticket/9385) changed to custom function that checks specifically for keydown availability. Although this function could come in many different flavours, I wrote it to be as specific as possible for `keydown` based on the recommendations of [Quirksmode](http://www.quirksmode.org/js/support.html) and [Resig](http://ejohn.org/blog/bad-object-detection/)

`jQuery.data()` [#11718](http://bugs.jquery.com/ticket/11718) changed to `jQuery._data()` when 1.8 is detected.

All tests for Bootstrap 2.1 now pass in both 1.7* and 1.8.0.

*PS. I have no fucking idea why the popover.js file is showing up as a complete re-write. It's formatted the same as the others, unless the original was different than all the rest. Anyways sorry about that, I give up trying to fix it. If you know what's wrong let me know I can re-submit the pull.*