- From: Ben Lesh <notifications@github.com>
- Date: Wed, 13 Dec 2017 09:08:47 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 13 December 2017 17:09:14 UTC
@jhusain it could also be handled with `map`, although it would drive some purists crazy: ```js button.on('click').map(e => (e.preventDefault(), e)).first() ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/544#issuecomment-351457179
Received on Wednesday, 13 December 2017 17:09:14 UTC