1/** 2 * jQuery Plugin für Frontend iOS Style Checkboxen 3 * 4 * @author Enrico Lüdecke <[email protected]> 5 */ 6(function( $ ) { 7 $.fn.gciosswitch = function(options) { 8 return this.each(function() { 9 $div = $('<div />'); 10 $div.data('box', $(this)); 11 $div.on('click', function(event) { 12 $(this).data('box').click(); 13 }); 14 $(this) 15 .addClass('ios-switch') 16 .after($div); 17 }); 18 }; 19}( jQuery ));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.