This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Fixes binding the "change" event to checkboxes and select[type=multiple] | |
* for Internet Explorer. | |
* | |
* @param {jQuery|Element|Element[]} elements | |
* The DOM Element we wish to bind the event to. | |
* | |
* @param {String} eventType | |
* The name of the event we want to bind to. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
// $.widget-lite | |
$.plugin = function(name, base, prototype) { | |
if (!prototype) { | |
prototype = base; | |
base = function(options, element) { | |
if (arguments.length) { | |
$.data(element, name, this); | |
this.element = $(element); | |
this._init(options); |
NewerOlder