Core: Move holdReady to deprecated

Fixes gh-3288
Close gh-3306
This commit is contained in:
Manoj Kumar
2016-08-31 04:01:31 +00:00
committed by Timmy Willison
parent 0588d0ce35
commit bd984f0ee2
3 changed files with 7 additions and 18 deletions

View File

@@ -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 );
}
}
} );