1jQuery(document).ready(function ($) { 2 var custom_styles = ""; 3 4 function buttonStyles() { 5 custom_styles = ""; 6 $( 'a.btn' ).each( function() { 7 var margin_top = $(this).attr('data-mtop'), 8 margin_bottom = $(this).attr('data-mbottom'); 9 10 if( typeof margin_top != 'undefined' ) { 11 var id = $(this).attr('id'), 12 $custom_style = '#' + id + '.btn { margin-top: ' + margin_top + 'px; margin-bottom: ' + margin_bottom + 'px; } '; 13 custom_styles += $custom_style; 14 } 15 }); 16 $('head').append('<style data-styles="aveo-theme-button-css" type="text/css">' + custom_styles + '</style>'); 17 } 18 19 buttonStyles(); 20 21 $(this).ajaxComplete(function() { 22 $('style[data-styles="aveo-theme-button-css"]').remove().detach(); 23 buttonStyles(); 24 }); 25});
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.