1function sendToastAlert(title = "", message = "", type = "success", timer = 1500) { 2 cuteToast({ 3 type: type, 4 title: title, 5 message: message, 6 timer: timer 7 }) 8} 9 10function sendCuteAlert(title = "", message = "", confirm = () => { 11}, cancel = () => { 12}, type = "question") { 13 cuteAlert({ 14 type: type, 15 title: title, 16 message: message, 17 confirmText: "İptal", 18 cancelText: "Sil", 19 }).then((e) => { 20 if (e == undefined) { 21 confirm(); 22 } else { 23 cancel(); 24 } 25 }); 26} 27function fetchData(url, degerler, success = (data) => { 28}) { 29 $.ajax({ 30 url: url, 31 data: degerler, 32 type: "POST", 33 dataType: "JSON", 34 success: function (data) { 35 //return true; 36 success(data); 37 38 if (data.alert) { 39 let val = data.alert; 40 sendToastAlert(val.title, val.message, val.type, val.timer); 41 } 42 }, 43 error: function (err) { 44 console.log(err) 45 }, 46 }); 47} 48 49 50 51
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.