aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/ready-no-deferred.js9
-rw-r--r--src/core/ready.js9
-rw-r--r--src/deprecated.js7
3 files changed, 7 insertions, 18 deletions
diff --git a/src/core/ready-no-deferred.js b/src/core/ready-no-deferred.js
index 02d601401..a7722ae9a 100644
--- a/src/core/ready-no-deferred.js
+++ b/src/core/ready-no-deferred.js
@@ -32,15 +32,6 @@ jQuery.extend( {
// the ready event fires. See #6781
readyWait: 1,
- // Hold (or release) the ready event
- holdReady: function( hold ) {
- if ( hold ) {
- jQuery.readyWait++;
- } else {
- jQuery.ready( true );
- }
- },
-
ready: function( wait ) {
// Abort if there are pending holds or we're already ready
diff --git a/src/core/ready.js b/src/core/ready.js
index 53b1b2da7..794feeec0 100644
--- a/src/core/ready.js
+++ b/src/core/ready.js
@@ -34,15 +34,6 @@ jQuery.extend( {
// the ready event fires. See #6781
readyWait: 1,
- // Hold (or release) the ready event
- holdReady: function( hold ) {
- if ( hold ) {
- jQuery.readyWait++;
- } else {
- jQuery.ready( true );
- }
- },
-
// Handle when the DOM is ready
ready: function( wait ) {
diff --git a/src/deprecated.js b/src/deprecated.js
index 0329b9564..3c902657e 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -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 );
+ }
}
} );