Including any component of Primefaces in the body of my HTML, it raises this error: Uncaught TypeError: N.delegate is not a function.
Do you know what it would be?
The error is in this second line of jquery-plugins generated by Primefaces
function g(N) {
var M = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
return N.delegate(M, "mouseout", function() {
y(this).removeClass("ui-state-hover");
if (this.className.indexOf("ui-datepicker-prev") !== -1) {
y(this).removeClass("ui-datepicker-prev-hover")
}
if (this.className.indexOf("ui-datepicker-next") !== -1) {
y(this).removeClass("ui-datepicker-next-hover")
}
}).delegate(M, "mouseover", function() {
if (!y.datepicker._isDisabledDatepicker(j.inline ? N.parent()[0] : j.input[0])) {
y(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");
y(this).addClass("ui-state-hover");
if (this.className.indexOf("ui-datepicker-prev") !== -1) {
y(this).addClass("ui-datepicker-prev-hover")
}
if (this.className.indexOf("ui-datepicker-next") !== -1) {
y(this).addClass("ui-datepicker-next-hover")
}
}
})
}