jEngine: jq-plugin

Bower version npm version Build Status

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());
  });
});