1var csrflistHash = $('#csrflistHash').val(); 2app.controller('academicCalendarServicesCtrl', function ($scope, $http, toastr) { 3 4 $('#calendarNew').fullCalendar('removeEvents'); 5 $scope.academicCalendarInit = function () { 6 $scope.calendar = ''; 7 $(document).ready(function () { 8 $scope.calendar = $('#calendarNew').fullCalendar({ 9 height: 650, 10 eventTextColor: '#000000', 11 editable: false, 12 eventStartEditable: false, 13 disableDragging: false, 14 header: { 15 left: 'prev,next today', 16 center: 'title', 17 right: 'month,agendaWeek,agendaDay' 18 }, 19 events: window.site_url + 'FrontEndAPI/load', 20 select: function (start, end, allDay) { 21 $scope.start = $.fullCalendar.formatDate(start, "Y-MM-DD HH:mm:ss"); 22 $scope.end = $.fullCalendar.formatDate(end, "Y-MM-DD HH:mm:ss"); 23 $('#addEvent').modal("show"); 24 }, 25 }); 26 }); 27 } 28 29 $scope.academicCalendarInitHome = function () { 30 $scope.calendarHome = ''; 31 $(document).ready(function () { 32 $scope.calendarHome = $('#calendarHome').fullCalendar({ 33 defaultView: 'listWeek', 34 height: 350, 35 editable: false, 36 eventStartEditable: false, 37 disableDragging: false, 38 header: { 39 left: 'prev,next', 40 center: 'title', 41 right: '' 42 }, 43 events: window.site_url + 'FrontEndAPI/load', 44 select: function (start, end, allDay) { 45 $scope.start = $.fullCalendar.formatDate(start, "Y-MM-DD HH:mm:ss"); 46 $scope.end = $.fullCalendar.formatDate(end, "Y-MM-DD HH:mm:ss"); 47 $('#addEvent').modal("show"); 48 }, 49 50 }); 51 }); 52 } 53}); 54 55 56 57
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.