X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=resources%2Fsrc%2Fjquery%2Fjquery.checkboxShiftClick.js;h=63cf28c5b858614ee9ed3fc08fbaf8fb406efaba;hp=b206566541fe8272ea05878fcf9fe4b7bba1245c;hb=6f3d5a5204770b7e9076ec0c956631c32a9e1114;hpb=77bc489c2731827b1c61a6509177eed23193d694 diff --git a/resources/src/jquery/jquery.checkboxShiftClick.js b/resources/src/jquery/jquery.checkboxShiftClick.js index b206566541..63cf28c5b8 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 ( $ ) { +( 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; }; -}( jQuery ) ); + + /** + * @class jQuery + * @mixins jQuery.plugin.checkboxShiftClick + */ + +}() );