These are the most common three, triggered whenever a jQuery UI
dialog is created.
> JQMIGRATE: jQuery.fn.bind() is deprecated
> JQMIGRATE: jQuery.expr.filters is deprecated; use jQuery.expr.pseudos
> JQMIGRATE: jQuery.fn.andSelf() was removed, use jQuery.fn.addBack()
Bug: T169385
Change-Id: I717f2580e3aae443cb9fc734de8f4b0dd8825b8c
jquery.ui.core.js
* I7ffbfd2e5 Avoid deprecated jQuery.expr[":"].
jquery.ui.core.js
* I7ffbfd2e5 Avoid deprecated jQuery.expr[":"].
+* I717f2580e Avoid deprecated jQuery.expr.filters.
+* I717f2580e Avoid deprecated jQuery.fn.andSelf().
jquery.ui.datepicker
* 19531f3c23 Add translations in de-AT and de-CH
jquery.ui.datepicker
* 19531f3c23 Add translations in de-AT and de-CH
+* I717f2580e Avoid deprecated jQuery.expr.filters.
jquery.ui.widget.js
* I7ffbfd2e5 Avoid deprecated jQuery.expr[":"].
jquery.ui.widget.js
* I7ffbfd2e5 Avoid deprecated jQuery.expr[":"].
+* I717f2580e Avoid deprecated jQuery.fn.bind().
themes/smoothness/jquery.ui.theme.css
themes/smoothness/jquery.ui.theme.css
}
function visible( element ) {
}
function visible( element ) {
- return $.expr.filters.visible( element ) &&
- !$( element ).parents().andSelf().filter(function() {
+ return $.expr.pseudos.visible( element ) &&
+ !$( element ).parents().addBack().filter(function() {
return $.css( this, "visibility" ) === "hidden";
}).length;
}
return $.css( this, "visibility" ) === "hidden";
}).length;
}
_findPos: function(obj) {
var inst = this._getInst(obj);
var isRTL = this._get(inst, 'isRTL');
_findPos: function(obj) {
var inst = this._getInst(obj);
var isRTL = this._get(inst, 'isRTL');
- while (obj && (obj.type == 'hidden' || obj.nodeType != 1 || $.expr.filters.hidden(obj))) {
+ while (obj && (obj.type == 'hidden' || obj.nodeType != 1 || $.expr.pseudos.hidden(obj))) {
obj = obj[isRTL ? 'previousSibling' : 'nextSibling'];
}
var position = $(obj).offset();
obj = obj[isRTL ? 'previousSibling' : 'nextSibling'];
}
var position = $(obj).offset();
if ( selector ) {
delegateElement.delegate( selector, eventName, handlerProxy );
} else {
if ( selector ) {
delegateElement.delegate( selector, eventName, handlerProxy );
} else {
- element.bind( eventName, handlerProxy );
+ element.on( eventName, handlerProxy );