PageSourceSearch

https://www.ciuti.org/wp-content/plugins/yp_calendar//js/front_app.js?ver=1790915475

js ciuti.org collected 2026-10-02 04:31:49 UTC 1,922 bytes, 58 lines download raw bytes

1jQuery(function(){
2    // CALENDAR //
3    var calendarEvents = [];
4
5
6
7(function () {
8	if (window.addtocalendar)if(typeof window.addtocalendar.start == "function")return;
9	if (window.ifaddtocalendar == undefined) { window.ifaddtocalendar = 1;
10	    var d = document, s = d.createElement('script'), g = 'getElementsByTagName';
11	    s.type = 'text/javascript';s.charset = 'UTF-8';s.async = true;
12	    s.src = ('https:' == window.location.protocol ? 'https' : 'http')+'://addtocalendar.com/atc/1.5/atc.min.js';
13	    var h = d[g]('body')[0];h.appendChild(s); }
14})();
15
16
17
18    jQuery.ajax({
19        type: "POST",
20        url: MyAjax.ajaxurl,
21        async: false,
22        data: 'action=display_event',
23        dataType: "json",
24        success: function(data){
25            //console.log(data);
26            calendarEvents = data.response;
27            showCalendar();
28        },
29        error: function(data){
30            console.error(data);
31        }
32    });
33
34    function showCalendar(){
35        jQuery('#ypCalendar').fullCalendar({
36            events: calendarEvents,
37            eventClick: function(calEvent, jsEvent, view) {
38                jQuery(".ypCalendarTitle").html(calEvent.title);
39                jQuery(".ypCalendarParticipant").html(calEvent.participant);
40                jQuery(".ypCalendarDescription").html(calEvent.description);
41                jQuery(".ypCalendarType").html(calEvent.type);
42                jQuery(".ypCalendarLocation").html(calEvent.location);
43                jQuery(".ypCalendarStart").html(moment(calEvent.start).format("DD/MM/YYYY HH:mm"));
44                jQuery(".ypCalendarEnd").html(moment(calEvent.end).format("DD/MM/YYYY HH:mm"));
45                jQuery("#ypCalendarOverlayer").show();
46            }
47
48        });
49    }
50
51    jQuery(".ypCalendarBtnClose").click(function(e){
52        e.preventDefault();
53        jQuery("#ypCalendarOverlayer").hide();
54    });
55    // # CALENDAR //
56});
57
58

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.