X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fjquery%2Fjquery.checkboxShiftClick.js;h=d99e9f0a8bb44dd7b85c2d2939aba0518ed569aa;hb=1df6b21c90965ec7bb204d6fbab6082cc5805c3a;hp=b206566541fe8272ea05878fcf9fe4b7bba1245c;hpb=77bc489c2731827b1c61a6509177eed23193d694;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/jquery/jquery.checkboxShiftClick.js b/resources/src/jquery/jquery.checkboxShiftClick.js index b206566541..d99e9f0a8b 100644 --- a/resources/src/jquery/jquery.checkboxShiftClick.js +++ b/resources/src/jquery/jquery.checkboxShiftClick.js @@ -1,13 +1,15 @@ /** - * jQuery checkboxShiftClick - * - * This will enable checkboxes to be checked or unchecked in a row by clicking one, - * holding shift and clicking another one. - * - * @author Timo Tijhof, 2011 - 2012 - * @license GPL v2 + * @class jQuery.plugin.checkboxShiftClick */ ( function ( $ ) { + + /** + * Enable checkboxes to be checked or unchecked in a row by clicking one, + * holding shift and clicking another one. + * + * @return {jQuery} + * @chainable + */ $.fn.checkboxShiftClick = function () { var prevCheckbox = null, $box = this; @@ -32,4 +34,10 @@ } ); return $box; }; + + /** + * @class jQuery + * @mixins jQuery.plugin.checkboxShiftClick + */ + }( jQuery ) );