mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Docs: Update removal comments to mention 1.14, not 1.13
We're not removing any deprecated API or legacy browser support in 1.13, re-target comments to mention 1.14. It's not guaranteed 1.14 will ever get released but if it will, it sounds like a good moment to do those removals. Closes gh-1970
This commit is contained in:
parent
349ee77924
commit
440f38940d
@ -1,4 +1,4 @@
|
|||||||
// This file is deprecated in 1.12.0 to be removed in 1.13
|
// This file is deprecated in 1.12.0 to be removed in 1.14
|
||||||
( function() {
|
( function() {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
@ -704,7 +704,7 @@ $.fn.extend( {
|
|||||||
// as the .show() below destroys the initial state
|
// as the .show() below destroys the initial state
|
||||||
modes.push( normalizedMode );
|
modes.push( normalizedMode );
|
||||||
|
|
||||||
// See $.uiBackCompat inside of run() for removal of defaultMode in 1.13
|
// See $.uiBackCompat inside of run() for removal of defaultMode in 1.14
|
||||||
if ( defaultMode && ( normalizedMode === "show" ||
|
if ( defaultMode && ( normalizedMode === "show" ||
|
||||||
( normalizedMode === defaultMode && normalizedMode === "hide" ) ) ) {
|
( normalizedMode === defaultMode && normalizedMode === "hide" ) ) ) {
|
||||||
el.show();
|
el.show();
|
||||||
|
@ -241,7 +241,7 @@ $.widget( "ui.droppable", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Extension points just to make backcompat sane and avoid duplicating logic
|
// Extension points just to make backcompat sane and avoid duplicating logic
|
||||||
// TODO: Remove in 1.13 along with call to it below
|
// TODO: Remove in 1.14 along with call to it below
|
||||||
_addHoverClass: function() {
|
_addHoverClass: function() {
|
||||||
this._addClass( "ui-droppable-hover" );
|
this._addClass( "ui-droppable-hover" );
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user