changeset ec6df070ea18 in sao:default details: https://hg.tryton.org/sao?cmd=changeset;node=ec6df070ea18 description: Use last fullcalendar version to support jQuery 3.5
With version 3.10.2, we can use the new htmlPrefilter of jQuery 3.5. issue9293 review301661002 diffstat: bower.json | 2 +- src/sao.js | 8 -------- 2 files changed, 1 insertions(+), 9 deletions(-) diffs (30 lines): diff -r 2d55ed2f2bb1 -r ec6df070ea18 bower.json --- a/bower.json Tue May 26 09:57:34 2020 +0200 +++ b/bower.json Thu May 28 18:14:50 2020 +0200 @@ -22,7 +22,7 @@ "gettext.js": "^0.5", "c3": "^0.6", "papaparse": "^5.0", - "fullcalendar": "^3.1", + "fullcalendar": "^3.10.2", "mousetrap": "^1.6", "bootstrap-rtl-ondemand": "^3.3.4-ondemand", "Sortable": "sortablejs#^1.8.4" diff -r 2d55ed2f2bb1 -r ec6df070ea18 src/sao.js --- a/src/sao.js Tue May 26 09:57:34 2020 +0200 +++ b/src/sao.js Thu May 28 18:14:50 2020 +0200 @@ -5,14 +5,6 @@ (function() { 'use strict'; - // Restore htmlPrefilter of jQuery < 3.5 - // To be removed when - // https://github.com/fullcalendar/fullcalendar/pull/5391 is merged - var rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi; - jQuery.htmlPrefilter = function( html ) { - return html.replace( rxhtmlTag, "<$1></$2>" ); - }; - // Browser compatibility: polyfill if (!('contains' in String.prototype)) { String.prototype.contains = function(str, startIndex) {