PageSourceSearch

https://kokoromental-clinic.com/blog/wp-content/themes/jinr/lib/js/loader.js?ver=1.3.5

js kokoromental-clinic.com collected 2026-10-06 08:11:04 UTC 1,335 bytes, 59 lines download raw bytes

1jQuery(function ($) {
2	$('.jinr-loadmore').click(function () {
3		let button = $(this);
4		let cat_id = button.parent().attr('id');
5		let params = jinr_loadmore_params1;
6		
7		let nowY = button.parent().data('year');
8		let nowM = button.parent().data('month');
9		let nowD = button.parent().data('day');
10		let tag_name = button.parent().data('tag');
11
12		let arrayID = [];
13		button.parent().children('article').each(function (index, element) {
14			arrayID.push($(element).data('id'));
15		});
16
17		/**
18		 * 取得した値がカテゴリーID(数値型)かどうかを検証して
19		 * ajaxで返す内容を変更する
20		 */
21
22		let data = {
23			action: 'loadmore',
24			query: params.posts,
25			cat: cat_id,
26			tag: tag_name,
27			nowY: nowY,
28			nowM: nowM,
29			nowD: nowD,
30			articleID: arrayID,
31		};
32		arrayID = [];
33
34		$.ajax({
35			url: params.ajaxurl,
36			data: data,
37			type: 'POST',
38			beforeSend: function (xhr) {
39				button.html('<span>Loading...</span>');
40			},
41			success: function (data) {
42				if (data) {
43					if (button !== null) {
44						button.before(data);
45					} else {
46						$('#' + cat_id).append(data);
47					}
48					params.current_page++;
49					button.html('<span>もっと見る</span>');
50					if (params.current_page == params.max_page) {
51						button.remove();
52					}
53				} else {
54					button.remove();
55				}
56			},
57		});
58	});
59});

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.