1class CustomSweetalertTwo { 2 static success(msg = 'Item Added', text = ""){ 3 return Swal.fire({ 4 position: 'top-end', 5 icon: 'success', 6 title: msg, 7 text: text, 8 showConfirmButton: false, 9 timer: 2000, 10 toast: true, 11 }) 12 } 13 14 static error(msg = 'Something went wrong', text = ""){ 15 return Swal.fire({ 16 position: 'top-end', 17 icon: 'error', 18 title: msg, 19 text: text, 20 showConfirmButton: false, 21 timer: 2000, 22 toast: true, 23 }) 24 } 25 26 static warning(msg = 'Notice something', text = "") 27 { 28 return Swal.fire({ 29 position: 'top-end', 30 icon: 'warning', 31 title: msg, 32 text: text, 33 showConfirmButton: false, 34 timer: 2000, 35 toast: true, 36 }) 37 } 38}
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.