1//------------TOASTR-------------// 2 3function toastify(type, msg, title, position, showclosebutton) { 4 if (position == null || position == '') { 5 toastr.options.positionClass = 'toast-bottom-right'; 6 } 7 else { 8 toastr.options.positionClass = position; 9 } 10 if (showclosebutton == null || showclosebutton == '' || showclosebutton == 'true') { 11 toastr.options.closeButton = true; 12 } 13 else { 14 toastr.options.closeButton = false; 15 } 16 toastr.options.timeOut = '50000'; 17 toastr.options.progressBar = true; 18 switch (type) { 19 case 'success': toastr.success(msg, title); 20 break; 21 case 'info': toastr.info(msg, title); 22 break; 23 case 'warning': toastr.warning(msg, title); 24 break; 25 case 'error': toastr.error(msg, title); 26 break; 27 } 28 //toastr.clear(); 29}
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.