1// å®ä¼ææ¥ã鏿ã§ããªããã(å®ä¼ææ¥ãåçã«å¯¾å¿ver) 2document.addEventListener('DOMContentLoaded', function() { 3 cal_set(3);// æ°´æå®ä¼ 4}); 5// å®ä¼ææ¥ã鏿ã§ããªããã 6function cal_set(yobi) { 7 $('.choice1 input').datepicker({ 8 minDate: new Date(), 9 beforeShowDay: function(date) { 10 let holiday = JapaneseHolidays.isHoliday(date); 11 //ç¥æ¥ã®ã¨ã 12 if (holiday) { 13 return [false, "ui-state-disabled"]; 14 } else if(date.getDay() == yobi) { 15 // æ¥ææ¥â0 ã»ã»ã» 16 return [false, 'ui-state-disabled']; 17 } 18 else { 19 // å¹³æ¥ 20 return [true, '']; 21 } 22 } 23 }); 24 $('.choice2 input').datepicker({ 25 minDate: new Date(), 26 beforeShowDay: function(date) { 27 let holiday = JapaneseHolidays.isHoliday(date); 28 //ç¥æ¥ã®ã¨ã 29 if (holiday) { 30 return [false, "ui-state-disabled"]; 31 } else if(date.getDay() == yobi) { 32 // æ¥ææ¥â0 ã»ã»ã» 33 return [false, 'ui-state-disabled']; 34 } 35 else { 36 // å¹³æ¥ 37 return [true, '']; 38 } 39 } 40 }); 41}
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.