src/js/jquery.uniform.js
function bindUi($el, $target, options) {
        bindMany($el, options, {
            focus: function () {
                $target.addClass(options.focusClass);
            },
            blur: function () {
                $target.removeClass(options.focusClass);
                $target.removeClass(options.activeClass);
            },
            mouseenter: function () {
                $target.addClass(options.hoverClass);
            },
            mouseleave: function () {
                $target.removeClass(options.hoverClass);
                $target.removeClass(options.activeClass);
            },
            "mousedown touchbegin": function () {
                if (!$el.is(":disabled")) {
                    $target.addClass(options.activeClass);
                }
            },
            "mouseup touchend": function () {
                $target.removeClass(options.activeClass);
            }
        });
    }
function bindUi($el, $target, options) {
        bindMany($el, options, {
            focus: function () {
                $target.addClass(options.focusClass);
            },
            blur: function () {
                $target.removeClass(options.focusClass);
                $target.removeClass(options.activeClass);
            },
            mouseenter: function () {
                $target.addClass(options.hoverClass);
            },
            mouseleave: function () {
                $target.removeClass(options.hoverClass);
                $target.removeClass(options.activeClass);
            },
            "mousedown touchbegin": function () {
                if (!$el.is(":disabled")) {
                    $target.addClass(options.activeClass);
                }
            },
            "mouseup touchend": function () {
                $target.removeClass(options.activeClass);
            }
        });
    }
function bindUi ( $el , $target , options ) { bindMany ( $el , options , { focus : function ( ) { $target . addClass ( options . focusClass ) ; } , blur : function ( ) { $target . removeClass ( options . focusClass ) ; $target . removeClass ( options . activeClass ) ; } , mouseenter : function ( ) { $target . addClass ( options . hoverClass ) ; } , mouseleave : function ( ) { $target . removeClass ( options . hoverClass ) ; $target . removeClass ( options . activeClass ) ; } , "mousedown touchbegin" : function ( ) { if ( ! $el . is ( ":disabled" ) ) { $target . addClass ( options . activeClass ) ; } } , "mouseup touchend" : function ( ) { $target . removeClass ( options . activeClass ) ; } } ) ; }
Bind the hover, active, focus, and blur UI updates

@param {jQuery} $el Original element
@param {jQuery} $target Target for the events (our div/span)
@param {Object} options Uniform options for the element $target
Bind the hover active focus and blur UI updates