diff --git a/calendar/amd/build/calendar_events.min.js b/calendar/amd/build/calendar_events.min.js new file mode 100644 index 00000000000..54965074923 --- /dev/null +++ b/calendar/amd/build/calendar_events.min.js @@ -0,0 +1 @@ +define([],function(){return{deleted:"calendar-events:deleted"}}); \ No newline at end of file diff --git a/calendar/amd/src/calendar_events.js b/calendar/amd/src/calendar_events.js new file mode 100644 index 00000000000..bb88d81ab03 --- /dev/null +++ b/calendar/amd/src/calendar_events.js @@ -0,0 +1,29 @@ +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see . + +/** + * Contain the events a modal can fire. + * + * @module core_calendar/calendar_events + * @class calendar_events + * @package core_calendar + * @copyright 2017 Simey Lameze + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +define([], function() { + return { + deleted: 'calendar-events:deleted' + }; +});