1$(document).ready(function () { 2 3 $("#yemekbaslangicTarihi").datepicker({ 4 5 language: "tr", 6 orientation: "bottom" 7 }); 8 $("#yemekbitisTarihi").datepicker({ 9 language: "tr", 10 orientation: "bottom" 11 }); 12 $('#yemekhaneFiltre').on('click', function () { 13 14 yemekGetir(); 15 }); 16 var today = new Date(); 17 var currentDate = today.getDate().toLocaleString('tr-TR', { minimumIntegerDigits: 2, useGrouping: false }) + '.' + (today.getMonth() + 1).toLocaleString('tr-TR', { minimumIntegerDigits: 2, useGrouping: false }) + '.' + today.getFullYear(); 18 19 var $t = $("td:contains('" + currentDate + "')"); 20 if ($t.length) { 21 $t.parent().addClass('yemekhane-today'); 22 var top = $t.first().offset().top - 200; 23 top = top + "px"; 24 $("html, body").animate({ scrollTop: top }, 800); 25 } 26 27 function yemekGetir() { 28 debugger; 29 var baslangicTarihi = $('#yemekbaslangicTarihi').datepicker('getDate') ? $('#yemekbaslangicTarihi').datepicker('getDate').toDateString() : null; 30 var bitisTarihi = $('#yemekbitisTarihi').datepicker('getDate') ? $('#yemekbitisTarihi').datepicker('getDate').toDateString() : null; 31 loadingBar('#yemekListesi', true); 32 $.ajax({
33 type: "GET", 34 url: "/AnaSayfa/getYemekListesi", 35 data: { baslangicTarihi: baslangicTarihi, bitisTarihi: bitisTarihi }, 36 success: function (result) { 37 38 loadingBar('#yemekListesi', false); 39 $("#yemekListesi").html(result); 40 41 42 } 43 }); 44 }; 45 46 47});
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.