needim/noty — pull request #235 by greenjoe (2014-12-25 03:01:56+00:00)
Title: Pass event object to button click handlers.

Button click handlers should have access to original event objects.
It is sometimes useful, for example to call .preventDefault().
This commit passes event object as an additional argument in the click handler call.
It shouldn't break any existing code.