1/*! =================================== 2 * Author: Nazarkin Roman, WPHunters 3 * ----------------------------------- 4 * Email(support): 5 * [email protected] 6 * =================================== 7 */ 8 9/** 10 * Init scrollspy engine 11 */ 12'use strict'; 13(function ($) { 14 15 var $elems = $('.wph-scrollspy'); 16 17 if ($elems.length <= 0 || typeof $.fn.scrollSpy != 'function') { 18 return; 19 } 20 21 // get menu and remove active state from all items 22 var $menu = $('ul.nav_menu'); 23 $menu.find('li').removeClass('current_page_item current-menu-item'); 24 25 // clear urls firstly 26 var $links = $menu.find('a'); 27 $links.__clearHashLinks(); 28 29 // run engine 30 $elems.scrollSpy(); 31 32})(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.