jEngine: jq-plugin
Installation
npm install jq-plugin --save
or
bower install jq-plugin --save
Usage
<button>Hola</button>
// $.plugin(selector, handler, isCollection?)
$.plugin('button', function () {
var jBtn = $(this);
jBtn.click(function () {
alert(jBtn.text());
});
});