1 2/** 3 * Skeleton V1.1 4 * Copyright 2011, Dave Gamache 5 * www.getskeleton.com 6 * Free to use under the MIT license. 7 * http://www.opensource.org/licenses/mit-license.php 8 * 8/17/2011 9 */ 10 11(function ($) { 12 // hash change handler 13 function hashchange () { 14 var hash = window.location.hash 15 , el = $('ul.tabs [href*="' + hash + '"]') 16 , content = $(hash) 17 18 if (el.length && !el.hasClass('active') && content.length) { 19 el.closest('.tabs').find('.active').removeClass('active'); 20 el.addClass('active'); 21 content.show().addClass('active').siblings().hide().removeClass('active'); 22 } 23 } 24 25 // listen on event and fire right away 26 $(window).on('hashchange.skeleton', hashchange); 27 hashchange(); 28 $(hashchange); 29})(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.