1var calendar = { 2 InitializeEventHandler: function () { 3 $(".item_list .item_body").hide(); 4 $(".event .item_body").hide(); //home calendar 5 6 $(".item_head").click(function () { 7 toggleBody(this); 8 return false; 9 }); 10 11 //Handle Expand All/Collapse all functionality. 12 $(".collapseAll").click(function () { 13 $.each($(".item_head"), function () { 14 if ($(this).hasClass("active")) { 15 toggleBody(this); 16 } 17 }); 18 return false; 19 }); 20 $(".expandAll").click(function () { 21 $.each($(".item_head"), function () { 22 if (!$(this).hasClass("active")) { 23 toggleBody(this); 24 } 25 }); 26 return false; 27 }); 28 29 function toggleBody(headToToggle) { 30 $(headToToggle).next(".item_body").slideToggle(500); 31 $(headToToggle).toggleClass("active").next(); 32 } 33 } 34};
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.