diff options
author | Steve Mao <maochenyan@gmail.com> | 2016-09-25 14:12:20 +1000 |
---|---|---|
committer | Timmy Willison <4timmywil@gmail.com> | 2017-03-20 11:37:15 -0400 |
commit | fcc9a9ec9685e25864ca793698e4ac5e60226272 (patch) | |
tree | 99ea209438834538b9da56894356dd1e2a4bc314 /src | |
parent | d33bb9c33ac84a1d1aa1aa8805b667efca2e51d6 (diff) | |
download | jquery-fcc9a9ec9685e25864ca793698e4ac5e60226272.tar.gz jquery-fcc9a9ec9685e25864ca793698e4ac5e60226272.zip |
Tests: move readywait to an iframe test
Close gh-3576
Fixes gh-3573
Diffstat (limited to 'src')
-rw-r--r-- | src/deprecated.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/deprecated.js b/src/deprecated.js index 195ce7ad9..9589ec872 100644 --- a/src/deprecated.js +++ b/src/deprecated.js @@ -23,16 +23,16 @@ 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 ); - } } } ); +jQuery.holdReady = function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } +}; jQuery.isArray = Array.isArray; jQuery.parseJSON = JSON.parse; jQuery.nodeName = nodeName; |