We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
readyFiring
1 parent 37f1da6 commit fcb8a1bCopy full SHA for fcb8a1b
1 file changed
src/core/ready-no-deferred.js
@@ -6,7 +6,6 @@ define( [
6
"use strict";
7
8
var readyCallbacks = [],
9
- readyFiring = false,
10
whenReady = function( fn ) {
11
readyCallbacks.push( fn );
12
},
@@ -60,16 +59,11 @@ jQuery.extend( {
60
59
61
62
63
- if ( !readyFiring ) {
64
- readyFiring = true;
65
-
66
- while ( readyCallbacks.length ) {
67
- fn = readyCallbacks.shift();
68
- if ( jQuery.isFunction( fn ) ) {
69
- executeReady( fn );
70
- }
+ while ( readyCallbacks.length ) {
+ fn = readyCallbacks.shift();
+ if ( jQuery.isFunction( fn ) ) {
+ executeReady( fn );
71
}
72
- readyFiring = false;
73
74
};
75
0 commit comments