$.isArray() is deprecated

$.bind() is deprecated
$.parseJSON is deprecated
$.unique is deprecated
jQuery .bind() is deprecated
jQuery .unbind() is deprecated
jQuery .load() is deprecated
removed $.support.transition
This commit is contained in:
djmaze 2020-08-07 09:40:36 +02:00
parent bbd9f49dcd
commit 656fd72319
8 changed files with 51 additions and 111 deletions

12
vendors/jua/jua.js vendored
View file

@ -371,7 +371,7 @@
Utils.getStringOrCallFunction = function (mStringOrFunction, aFunctionParams)
{
return $.isFunction(mStringOrFunction) ?
mStringOrFunction.apply(null, $.isArray(aFunctionParams) ? aFunctionParams : []).toString() :
mStringOrFunction.apply(null, Array.isArray(aFunctionParams) ? aFunctionParams : []).toString() :
mStringOrFunction.toString();
};
@ -472,7 +472,7 @@
try
{
oResult = $.parseJSON(oXhr.responseText);
oResult = JSON.parse(oXhr.responseText);
bResult = true;
}
catch (oException)
@ -858,10 +858,10 @@
}
$(oDragAndDropElement)
.bind('dragenter', fHandleDragEnter)
.bind('dragover', fHandleDragOver)
.bind('dragleave', fHandleDragLeave)
.bind('drop', fHandleDrop)
.on('dragenter', fHandleDragEnter)
.on('dragover', fHandleDragOver)
.on('dragleave', fHandleDragLeave)
.on('drop', fHandleDrop)
;
}