jashkenas/backbone — pull request #3077 by braddunbar (2014-03-19 14:58:36+00:00)
Title: Test the delegate interface.

Since Backbone doesn't implement attaching event handlers or triggering DOM events, there's no reason for us to test it. Instead, we can test the interface for `delegate` and `delegateEvents` to ensure the correct arguments are passed at the correct time.

This means that code from `Backbone.$` isn't actually under test and therefore doesn't need to be shimmed for cases like #3073.