1(function($, document) { 2 'use strict'; 3 4 if (!$ || !$.fn || typeof $.fn.helper_tooltip !== 'function') { 5 return; 6 } 7 8 function initializeElement(element) { 9 if (!element.tip_layer) { 10 $(element).helper_tooltip(); 11 } 12 } 13 14 function initializeFileTooltips(context) { 15 var target = context || document; 16 17 if ($(target).is('.file-tooltip')) { 18 initializeElement(target); 19 } 20 21 $('.file-tooltip', target).each(function() { 22 initializeElement(this); 23 }); 24 } 25 26 window.initializeFileTooltips = initializeFileTooltips; 27 28 $(function() { 29 initializeFileTooltips(document); 30 }); 31 32 $(document).on('mouseenter focusin', '.file-tooltip', function() { 33 if (!this.tip_layer) { 34 initializeFileTooltips(this); 35 $(this).trigger('focus_event'); 36 } 37 }); 38})(window.jQuery, document);
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.