mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Core: Move holdReady to deprecated
Fixes gh-3288 Close gh-3306
This commit is contained in:
committed by
Timmy Willison
parent
0588d0ce35
commit
bd984f0ee2
@@ -22,6 +22,13 @@ jQuery.fn.extend( {
|
||||
return arguments.length === 1 ?
|
||||
this.off( selector, "**" ) :
|
||||
this.off( types, selector || "**", fn );
|
||||
},
|
||||
holdReady: function( hold ) {
|
||||
if ( hold ) {
|
||||
jQuery.readyWait++;
|
||||
} else {
|
||||
jQuery.ready( true );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user