twitter/bootstrap — pull request #6173 by ryan-endacott (2012-12-09 05:01:42+00:00)
Title: Button that triggered the modal is now passed to 'shown' event.

When a modal is triggered by a button, the button is now passed as a parameter to the 'shown' event as mentioned in #6159.

Ex:
```Javascript
$('#myModal').on('shown', function (e, source) {
// source is the element that triggered the modal
})
```

Tested on IE9, Firefox 14, and Chrome 23.

I'm resubmitting this because I think it was automatically closed due to 2.2.2-wip being deleted? If there is something I have done wrong or a different branch to commit to please let me know :)