Split the calendar view functionality into new module (#182).

This commit is contained in:
Alex Tselegidis 2016-07-17 13:46:38 +02:00
parent 0caff545a9
commit a9edbda7a7
4 changed files with 1087 additions and 1015 deletions

View file

@ -37,7 +37,7 @@
}; };
$(document).ready(function() { $(document).ready(function() {
BackendCalendar.initialize(true); BackendCalendar.initialize(GlobalVariables.calendarView);
}); });
</script> </script>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,32 @@
/* ----------------------------------------------------------------------------
* Easy!Appointments - Open Source Web Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @copyright Copyright (c) 2013 - 2016, Alex Tselegidis
* @license http://opensource.org/licenses/GPL-3.0 - GPLv3
* @link http://easyappointments.org
* @since v1.2.0
* ---------------------------------------------------------------------------- */
/**
* Backend Calendar
*
* This module implements the table calendar view of backend.
*
* @module BackendCalendarTableView
*/
window.BackendCalendarTableView = window.BackendCalendarTableView || {};
(function(exports) {
'use strict';
function _bindEventHandlers() {
}
exports.initialize = function() {
};
})(window.BackendCalendarTableView);