1var course_tour_script = new function(){ 2 var self = this; 3 var $ = jQuery; 4 5 self.init = function(){ 6 // change to the clicked hole in the course tour system 7 if( $('.hole_nav')[0] ){ 8 $('.hole_nav .hole_nav_button').on('click', function(){ 9 var post_id = $(this).attr('data-num'); 10 if( $('#hole_'+post_id)[0] ){ 11 $('.active_hole').removeClass('active_hole'); 12 $(this).addClass('active_hole'); 13 $('#hole_'+post_id).addClass('active_hole'); 14 } 15 }); 16 } 17 }; 18 19 20 $(document).ready(function(){ 21 try{ 22 self.init(); 23 }catch(e){ 24 console.warn('JS Error: course_tour.js was not loaded correctly'); 25 console.log(e); 26 } 27 }); 28 29};
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.