prevent
Cross-browser preventDefault
Installation
$ component install yields/prevent
Example
anchoronclick = ;anchor{ if something return e;};
API
prevent(e)
Prevent the given e
, if the argument is omitted,
the method will fallback to window.event
.
License
MIT