Minjs
https://github.com/remy/min.js/
What is Min.js?
A super tiny JavaScript library useful to execute simple DOM querying and hooking event listeners. Thank you to its jQuery-like style, it feels very intuitive and simple to use. Its goal is to return the raw DOM node, which then can be manipulated using element.classList, element.innerHTML, and other methods. The following is a small example of how to use it:
$('p:first-child a').on('click', function (event) {
event.preventDefault();
// do something else
});
Obviously, it has some limits. For instance, you can’t turn off events.
page revision: 0, last edited: 27 Nov 2015 01:53