1/** 2 * @param {string} msg 3 * @param {string} type secondary|success|warning|info|alert 4 */ 5function getAlertMarkup(msg, type) { 6 if(typeof type === 'undefined') { 7 type = 'secondary'; 8 } 9 if(typeof msg === 'undefined') { 10 msg = 'Your message goes here'; 11 } 12 var alert = '<div data-alert class="alert-box ' + type + '">'; 13 alert += msg; 14 alert += '<a href="#" class="close">×</a>'; 15 alert += '</div>'; 16 return alert; 17}
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.