Compatible with jQuery 1.11 and 3.x, as jQuery.expr.pseudos was
introduced in jQuery 1.8.
Note that this is not blocking jQuery 3 (T124742) since it is
covered by jQuery Migrate. But fixing this makes the edit page less
noisy by default.
Change-Id: I7ffbfd2e55aa7dcc31860eb0117b203e63ca7283
+jquery.ui.core.js
+* I7ffbfd2e5 Avoid deprecated jQuery.expr[":"].
+
+
jquery.ui.draggable.js
* 71e11de2a3 Fix positioning error with draggable, revert and grid.
https://phabricator.wikimedia.org/T140965#2944610
* 19531f3c23 Add translations in de-AT and de-CH
+jquery.ui.widget.js
+* I7ffbfd2e5 Avoid deprecated jQuery.expr[":"].
+
+
themes/smoothness/jquery.ui.theme.css
* 5e772e39dd Remove dark color from links inside dialogs
https://phabricator.wikimedia.org/T85857
}).length;
}
-$.extend( $.expr[ ":" ], {
+$.extend( $.expr.pseudos, {
data: $.expr.createPseudo ?
$.expr.createPseudo(function( dataName ) {
return function( elem ) {
}
// create selector for plugin
- $.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {
+ $.expr.pseudos[ fullName.toLowerCase() ] = function( elem ) {
return !!$.data( elem, fullName );
};