1(function ($) { 2 "use strict"; 3 $.extend( jQuery.easing,{ 4 def: 'easeOutQuad', 5 easeInOutExpo: function (x, t, b, c, d) { 6 if (t==0) return b; 7 if (t==d) return b+c; 8 if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; 9 return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; 10 } 11 }); 12 13 $(document).on('click', '[ui-scroll-to]', function (e) { 14 e.preventDefault(); 15 var target = $('#'+$(this).attr('ui-scroll-to')); 16 $('html,body').animate({ 17 scrollTop: target.offset().top 18 }, 600, 'easeInOutExpo'); 19 }); 20})(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.