1/** 2* File theme.js 3*/ 4 5( function( $ ) { 6 7 $(document).ready(function () { 8 // navigation enhancements 9 $('[name="site-toggler"]').change(function () { 10 var currentClass = this.value; 11 if(currentClass.indexOf("opened")>-1) { 12 $('body').addClass(currentClass); 13 } else { 14 $('body').removeClass(function (index, css) { 15 return $.grep(css.split(/ +/), function(v){ 16 return v.match(/-opened$/); 17 }).join(' '); 18 }); 19 } 20 }); 21 }); 22} )( 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.