aboutsummaryrefslogtreecommitdiffstats
path: root/src/callbacks.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/callbacks.js')
-rw-r--r--src/callbacks.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/callbacks.js b/src/callbacks.js
index 735330f12..893f5760b 100644
--- a/src/callbacks.js
+++ b/src/callbacks.js
@@ -40,11 +40,7 @@ jQuery.Callbacks = function( options ) {
( optionsCache[ options ] || createOptions( options ) ) :
jQuery.extend( {}, options );
- var // Actual callback list
- list = [],
- // Stack of fire calls for repeatable lists
- stack = !options.once && [],
- // Last fire value (for non-forgettable lists)
+ var // Last fire value (for non-forgettable lists)
memory,
// Flag to know if list was already fired
fired,
@@ -56,6 +52,10 @@ jQuery.Callbacks = function( options ) {
firingLength,
// Index of currently firing callback (modified by remove if needed)
firingIndex,
+ // Actual callback list
+ list = [],
+ // Stack of fire calls for repeatable lists
+ stack = !options.once && [],
// Fire callbacks
fire = function( data ) {
memory = options.memory && data;