1const Flags = function () { 2 3 const initialize = () => { 4 jQuery('body').append('<div role="presentation" class="wm-flag" data-style><div class="wm-flag-title"></div><p class="wm-flag-text"></p></div>') 5 } 6 7 8 initialize() 9} 10 11new Flags() 12 13window.showSuccessFlag = (title, text, timeout = 2) => { 14 jQuery('.wm-flag') 15 .attr('data-style', 'success') 16 .stop(false, true) 17 .fadeIn() 18 19 jQuery('.wm-flag-title').text(title) 20 jQuery('.wm-flag-text').text(text) 21 22 setTimeout(() => { 23 jQuery('.wm-flag').fadeOut() 24 }, timeout * 1000) 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.