1// JavaScript Document 2function showMsg(text, type) 3{ 4 toastr.options = { 5 "closeButton": false, 6 "debug": false, 7 "newestOnTop": false, 8 "progressBar": false, 9 "positionClass": "toast-top-right", 10 "preventDuplicates": false, 11 "onclick": null, 12 "showDuration": "300", 13 "hideDuration": "1000", 14 "timeOut": "3000", 15 "extendedTimeOut": "1000", 16 "showEasing": "swing", 17 "hideEasing": "linear", 18 "showMethod": "fadeIn", 19 "hideMethod": "fadeOut" 20} 21 if(type=='error') 22 { 23 toastr.error(text); 24 } 25 else if(type=='success') 26 { 27 toastr.success(text); 28 } 29 else if(type=='warning') 30 { 31 toastr.warning(text); 32 } 33}
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.