2 ms·
Try `event.currentTarget`, and `event.target` instead. They're much preferable to having a `self` (representing some random DOM element), and a `this` within a
by jashkenas 15y ago
Try `event.currentTarget`, and `event.target` instead. They're much preferable to having a `self` (representing some random DOM element), and a `this` within a function.
$('button').click (e) =>
@clickedButtons.push $(e.target).attr 'id'