Commit 4772b300 authored by bbaer's avatar bbaer

FullCalendar.io V3 done!

parent ca065b6a
Pipeline #3149 passed with stages
in 2 minutes and 12 seconds
......@@ -268,16 +268,16 @@ module.exports = function (grunt) {
fullCalendar: {
files: [
{
cwd: 'node_modules/@fullcalendar/',
src: '**',
dest: "js/fullCalendar",
cwd: 'node_modules/fullcalendar/dist',
src: '*.min.js',
dest: typo3_js,
expand: true,
flatten: false
},
{
cwd: 'node_modules/fullcalendar/dist',
src: '*.min.*',
dest: typo3_js,
src: '*.min.css',
dest: typo3_css,
expand: true,
flatten: false
},
......
......@@ -41,7 +41,7 @@ QfqNS.Helper = QfqNS.Helper || {};
function () {
var config = {};
var $this = $(this);
var element = $this.get(0);
//var element = $this.get(0);
var configData = $this.data('config');
if (configData) {
if (configData instanceof Object) {
......@@ -51,8 +51,8 @@ QfqNS.Helper = QfqNS.Helper || {};
QfqNS.Log.warning("'data-config' is invalid: " + configData);
}
}
var calendar = new FullCalendar.Calendar(element, configData);
calendar.render();
$this.fullCalendar(configData);
//calendar.render();
}
);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment