mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
$.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:
parent
bbd9f49dcd
commit
656fd72319
8 changed files with 51 additions and 111 deletions
12
vendors/jua/jua.js
vendored
12
vendors/jua/jua.js
vendored
|
|
@ -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)
|
||||
;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue