Commit ca065b6a authored by bbaer's avatar bbaer

changed to fullcalendar v3

parent 45ed3ed0
......@@ -275,12 +275,26 @@ module.exports = function (grunt) {
flatten: false
},
{
cwd: 'node_modules/@fullcalendar/',
src: '**',
dest: typo3_js + "/fullCalendar",
cwd: 'node_modules/fullcalendar/dist',
src: '*.min.*',
dest: typo3_js,
expand: true,
flatten: false
}
},
{
cwd: 'node_modules/fullcalendar/dist',
src: '*.min.*',
dest: "js/",
expand: true,
flatten: false
},
{
cwd: 'node_modules/moment/min',
src: 'moment.min.js',
dest: typo3_js,
expand: true,
flatten: false
},
]
},
eventEmitter: {
......@@ -501,10 +515,6 @@ module.exports = function (grunt) {
src: ['javascript/src/Plugins/qfq.fabric.js'],
dest: typo3_js + 'qfq.fabric.min.js'
},
fullCalendar: {
src: ['js/fullCalendar.js'],
dest: typo3_js + 'fullCalendar.min.js'
},
qfqValidator: {
src: ['javascript/src/Plugins/validator.js'],
dest: typo3_js + 'validator.min.js'
......@@ -513,16 +523,6 @@ module.exports = function (grunt) {
jshint: {
all: js_sources
},
concat: {
js: {
src: 'node_modules/@fullcalendar/*/main.js',
dest: 'js/fullCalendar.js'
},
css: {
src: 'node_modules/@fullcalendar/*/main.min.css',
dest: typo3_css + 'fullCalendar.min.css'
}
},
concat_in_order: {
debug_standalone: {
options: {
......@@ -632,7 +632,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-jasmine');
// Default task(s).
grunt.registerTask('default', ['jshint', 'concat_in_order', 'concat', 'uglify', 'copy', 'less']);
grunt.registerTask('default', ['jshint', 'concat_in_order', 'uglify', 'copy', 'less']);
grunt.registerTask('only-js', ['jshint', 'concat_in_order', 'uglify', 'copy:qfqPlugins', 'copy:worker']);
......
......@@ -38,4 +38,4 @@
},
"license": "ISC",
"repository": "https://git.math.uzh.ch/typo3/qfq"
}
}
\ No newline at end of file
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