1/** 2 * front widget scripts 3 * author Lucy Tomás 4 * @since 3.1 5 */ 6 7 8jQuery(document).ready(function($) { 9 10 11 var sfmsb_widget = new sfmsb_front(); 12 sfmsb_widget.init_icons(); 13 14}); 15 16 17 18// Closure 19 20function sfmsb_front (){ 21 22 return { 23 24 /** 25 * init_icons 26 * inits hover color effect 27 */ 28 29 init_icons : function () { 30 31 jQuery('.sfmsb-follow-social-buttons a').hover( 32 33 function(){ 34 var hover_color = jQuery(this).parent('.sfmsb-follow-social-buttons').attr('data-hover'); 35 jQuery(this).find('span').css('color', hover_color); 36 }, 37 function(){ 38 jQuery(this).find('span').css('color', jQuery(this).find('span').attr('data-color')); 39 } 40 41 ); 42 43 } 44 45 } // 46 47} 48 49 50 51
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.