fixed jQuery dprecations

This commit is contained in:
Micha
2025-03-03 12:16:55 +01:00
parent 8176c13006
commit d0d10a7e90
19 changed files with 96 additions and 96 deletions

View File

@@ -64,7 +64,7 @@
sliceObj: function(obj, keys, caseSensitive /* default: false */) {
var key, keyLower, newObj = {};
if (!$.isArray(keys) || !keys.length) {
if (!Array.isArray(keys) || !keys.length) {
return newObj;
}
@@ -144,7 +144,7 @@
valueProp = function (e) { return e[idKey]; };
}
var isValArray = $.isArray(value),
var isValArray = Array.isArray(value),
result = [],
that = this;