1$.fn.extend({ 2 hfShowLoading: function (options) { 3 options = options || {}; 4 let elementsFade = options.elementsFade || false; 5 let siblingsDisabled = options.siblingsDisabled || false; 6 let additionalClass = options.additionalClass || ''; 7 let cssClass = 'show-loading-animation ' + additionalClass; 8 9 this.prop('disabled', true) 10 .addClass(cssClass) 11 .attr('style', 'background: transparent !important; border-color: transparent !important;pointer-events: none'); 12 13 if (elementsFade) { 14 this.addClass('show-loading-animation-fade'); 15 } 16 if (siblingsDisabled) { 17 // fixme: side effect?? what if there are containers around 'siblings'? 18 // what about enabling them in hfHideLoading? 19 this.siblings().prop('disabled', true); 20 } 21 }, 22 hfHideLoading: function () { 23 this.prop('disabled', false).removeClass('show-loading-animation show-loading-animation-fade').removeAttr('style'); 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.