Shopify/batman — pull request #622 by adamyanalunas (2012-12-13 17:20:53+00:00)
Title: Added helper, test and catch to bypass middle-click events.

Any `data-event-click`, whether bound directly with `data-event-click` attribute directly or via `data-routes`, would ignore a middle click and treat it as a primary click. This patch recognizes the middle click in the event and prevents the listener added by `Batman.DOM.events.click` from absorbing the event and triggering the callback.