Resources/public/js/fullcalendar/fullcalendar.default-settings.js   A
last analyzed

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 22
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
eloc 16
nc 1
dl 0
loc 22
rs 10
c 1
b 0
f 0
wmc 2
mnd 0
bc 2
fnc 2
bpm 1
cpm 1
noi 0
1
$(function () {
2
    $('#calendar-holder').fullCalendar({
3
        header: {
4
            left: 'prev, next',
5
            center: 'title',
6
            right: 'month, basicWeek, basicDay,'
7
        },
8
        lazyFetching: true,
9
        timeFormat: {
10
            agenda: 'h:mmt',
11
            '': 'h:mmt'
12
        },
13
        eventSources: [
14
            {
15
                url: '/full-calendar/load',
16
                type: 'POST',
17
                data: {},
18
                error: () => {}
19
            }
20
        ]
21
    });
22
});
23