Details
-
Improvement
-
Resolution: Fixed
-
Trivial
-
None
-
None
Description
Wen using the calendar macro, fetching the javascript files causes warnings in the log:
2014-12-27 19:24:36,275 [http://localhost:8080/xwiki/bin/jsx/Calendar/FullCalendar?language=en&defer=false] WARN c.x.x.w.s.JsExtension - Error at line 8, column 5,346: syntax error. Caused by: [.... logn
The messages are created by the minimizer.
As the file are already minimized, it is not necessary to minimize them again, so including them via
#set($discard = $xwiki.jsx.use("Calendar.JQuery", {'defer': false, 'minify': false})) #set($discard = $xwiki.jsx.use("Calendar.JQueryUI", {'defer': false, 'minify': false})) [...] #set($discard = $xwiki.jsx.use("Calendar.FullCalendar", {'defer': false, 'minify': false}))
should be ok.
It seems that Moment does not cause sch problems, but as it is already minimized, maybe