scratch – Diff between revs 58 and 125

Subversion Repositories:
Rev:
Show entire fileRegard whitespace
Rev 58 Rev 125
Line 1... Line 1...
1 define( [ 1 define([
2 "./core", 2 "./core",
3 "./var/document", -  
4 "./var/rcssNum", 3 "./var/pnum",
5 "./var/rnothtmlwhite", -  
6 "./css/var/cssExpand", 4 "./css/var/cssExpand",
7 "./css/var/isHiddenWithinTree", 5 "./css/var/isHidden",
8 "./css/var/swap", 6 "./css/defaultDisplay",
9 "./css/adjustCSS", -  
10 "./data/var/dataPriv", 7 "./data/var/data_priv",
11 "./css/showHide", -  
Line 12... Line 8...
12   8  
-   9 "./core/init",
13 "./core/init", 10 "./effects/Tween",
14 "./queue", -  
15 "./deferred", -  
16 "./traversing", -  
17 "./manipulation", 11 "./queue",
18 "./css", 12 "./css",
-   13 "./deferred",
19 "./effects/Tween" 14 "./traversing"
20 ], function( jQuery, document, rcssNum, rnothtmlwhite, cssExpand, isHiddenWithinTree, swap, -  
21 adjustCSS, dataPriv, showHide ) { -  
22   -  
Line 23... Line 15...
23 "use strict"; 15 ], function( jQuery, pnum, cssExpand, isHidden, defaultDisplay, data_priv ) {
24   16  
25 var 17 var
-   18 fxNow, timerId,
26 fxNow, timerId, 19 rfxtypes = /^(?:toggle|show|hide)$/,
-   20 rfxnum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ),
-   21 rrun = /queueHooks$/,
-   22 animationPrefilters = [ defaultPrefilter ],
-   23 tweeners = {
-   24 "*": [ function( prop, value ) {
-   25 var tween = this.createTween( prop, value ),
-   26 target = tween.cur(),
27 rfxtypes = /^(?:toggle|show|hide)$/, 27 parts = rfxnum.exec( value ),
-   28 unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
-   29  
-   30 // Starting value computation is required for potential unit mismatches
28 rrun = /queueHooks$/; 31 start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) &&
29   32 rfxnum.exec( jQuery.css( tween.elem, prop ) ),
-   33 scale = 1,
30 function raf() { 34 maxIterations = 20;
-   35  
-   36 if ( start && start[ 3 ] !== unit ) {
-   37 // Trust units reported by jQuery.css
-   38 unit = unit || start[ 3 ];
31 if ( timerId ) { 39  
-   40 // Make sure we update the tween properties later on
-   41 parts = parts || [];
-   42  
-   43 // Iteratively approximate from a nonzero starting point
-   44 start = +target || 1;
-   45  
-   46 do {
-   47 // If previous iteration zeroed out, double until we get *something*.
-   48 // Use string for doubling so we don't accidentally see scale as unchanged below
-   49 scale = scale || ".5";
-   50  
-   51 // Adjust and apply
-   52 start = start / scale;
-   53 jQuery.style( tween.elem, prop, start + unit );
-   54  
-   55 // Update scale, tolerating zero or NaN from tween.cur(),
32 window.requestAnimationFrame( raf ); 56 // break the loop if scale is unchanged or perfect, or if we've just had enough
-   57 } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );
-   58 }
-   59  
-   60 // Update tween properties
-   61 if ( parts ) {
-   62 start = tween.start = +start || +target || 0;
-   63 tween.unit = unit;
-   64 // If a +=/-= token was provided, we're doing a relative animation
-   65 tween.end = parts[ 1 ] ?
33 jQuery.fx.tick(); 66 start + ( parts[ 1 ] + 1 ) * parts[ 2 ] :
Line -... Line 67...
-   67 +parts[ 2 ];
-   68 }
-   69  
-   70 return tween;
34 } 71 } ]
35 } 72 };
36   73  
37 // Animations created synchronously will run synchronously 74 // Animations created synchronously will run synchronously
38 function createFxNow() { 75 function createFxNow() {
39 window.setTimeout( function() { 76 setTimeout(function() {
40 fxNow = undefined; 77 fxNow = undefined;
Line 63... Line 100...
63 return attrs; 100 return attrs;
64 } 101 }
Line 65... Line 102...
65   102  
66 function createTween( value, prop, animation ) { 103 function createTween( value, prop, animation ) {
67 var tween, 104 var tween,
68 collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), 105 collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),
69 index = 0, 106 index = 0,
70 length = collection.length; 107 length = collection.length;
71 for ( ; index < length; index++ ) { 108 for ( ; index < length; index++ ) {
Line 76... Line 113...
76 } 113 }
77 } 114 }
78 } 115 }
Line 79... Line 116...
79   116  
-   117 function defaultPrefilter( elem, props, opts ) {
80 function defaultPrefilter( elem, props, opts ) { 118 /* jshint validthis: true */
81 var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, -  
82 isBox = "width" in props || "height" in props, 119 var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
83 anim = this, 120 anim = this,
84 orig = {}, 121 orig = {},
85 style = elem.style, 122 style = elem.style,
86 hidden = elem.nodeType && isHiddenWithinTree( elem ), 123 hidden = elem.nodeType && isHidden( elem ),
Line 87... Line 124...
87 dataShow = dataPriv.get( elem, "fxshow" ); 124 dataShow = data_priv.get( elem, "fxshow" );
88   125  
89 // Queue-skipping animations hijack the fx hooks 126 // Handle queue: false promises
90 if ( !opts.queue ) { 127 if ( !opts.queue ) {
91 hooks = jQuery._queueHooks( elem, "fx" ); 128 hooks = jQuery._queueHooks( elem, "fx" );
92 if ( hooks.unqueued == null ) { 129 if ( hooks.unqueued == null ) {
Line 99... Line 136...
99 }; 136 };
100 } 137 }
101 hooks.unqueued++; 138 hooks.unqueued++;
Line 102... Line 139...
102   139  
103 anim.always( function() { -  
104   140 anim.always(function() {
105 // Ensure the complete handler is called before this completes 141 // Ensure the complete handler is called before this completes
106 anim.always( function() { 142 anim.always(function() {
107 hooks.unqueued--; 143 hooks.unqueued--;
108 if ( !jQuery.queue( elem, "fx" ).length ) { 144 if ( !jQuery.queue( elem, "fx" ).length ) {
109 hooks.empty.fire(); 145 hooks.empty.fire();
110 } 146 }
111 } ); 147 });
112 } ); 148 });
Line 113... Line 149...
113 } 149 }
114   -  
115 // Detect show/hide animations -  
116 for ( prop in props ) { -  
117 value = props[ prop ]; -  
118 if ( rfxtypes.test( value ) ) { -  
119 delete props[ prop ]; 150  
120 toggle = toggle || value === "toggle"; -  
121 if ( value === ( hidden ? "hide" : "show" ) ) { -  
122   -  
123 // Pretend to be hidden if this is a "show" and -  
124 // there is still data from a stopped show/hide -  
125 if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { -  
126 hidden = true; 151 // Height/width overflow pass
127   -  
128 // Ignore all other no-op show/hide data -  
129 } else { -  
130 continue; -  
131 } -  
132 } -  
133 orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); -  
134 } -  
135 } -  
136   -  
137 // Bail out if this is a no-op like .hide().hide() -  
138 propTween = !jQuery.isEmptyObject( props ); -  
139 if ( !propTween && jQuery.isEmptyObject( orig ) ) { -  
140 return; -  
141 } 152 if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) {
142   -  
143 // Restrict "overflow" and "display" styles during box animations -  
144 if ( isBox && elem.nodeType === 1 ) { -  
145   153 // Make sure that nothing sneaks out
146 // Support: IE <=9 - 11, Edge 12 - 13 154 // Record all 3 overflow attributes because IE9-10 do not
147 // Record all 3 overflow attributes because IE does not infer the shorthand 155 // change the overflow attribute when overflowX and
Line 148... Line 156...
148 // from identically-valued overflowX and overflowY 156 // overflowY are set to the same value
149 opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; -  
150   -  
151 // Identify a display type, preferring old show/hide data over the CSS cascade -  
152 restoreDisplay = dataShow && dataShow.display; -  
153 if ( restoreDisplay == null ) { -  
154 restoreDisplay = dataPriv.get( elem, "display" ); -  
155 } -  
156 display = jQuery.css( elem, "display" ); -  
157 if ( display === "none" ) { -  
158 if ( restoreDisplay ) { -  
159 display = restoreDisplay; 157 opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
160 } else { -  
161   -  
162 // Get nonempty value(s) by temporarily forcing visibility 158  
163 showHide( [ elem ], true ); -  
164 restoreDisplay = elem.style.display || restoreDisplay; -  
165 display = jQuery.css( elem, "display" ); -  
Line 166... Line 159...
166 showHide( [ elem ] ); 159 // Set display property to inline-block for height/width
167 } 160 // animations on inline elements that are having width/height animated
168 } 161 display = jQuery.css( elem, "display" );
Line 169... Line -...
169   -  
170 // Animate inline elements as inline-block -  
171 if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { -  
172 if ( jQuery.css( elem, "float" ) === "none" ) { -  
173   -  
174 // Restore the original display value at the end of pure show/hide animations -  
175 if ( !propTween ) { -  
176 anim.done( function() { 162  
177 style.display = restoreDisplay; -  
178 } ); -  
179 if ( restoreDisplay == null ) { 163 // Test default display if display is currently "none"
180 display = style.display; 164 checkDisplay = display === "none" ?
181 restoreDisplay = display === "none" ? "" : display; 165 data_priv.get( elem, "olddisplay" ) || defaultDisplay( elem.nodeName ) : display;
182 } -  
Line 183... Line 166...
183 } 166  
184 style.display = "inline-block"; 167 if ( checkDisplay === "inline" && jQuery.css( elem, "float" ) === "none" ) {
185 } 168 style.display = "inline-block";
186 } 169 }
187 } 170 }
188   171  
189 if ( opts.overflow ) { 172 if ( opts.overflow ) {
190 style.overflow = "hidden"; 173 style.overflow = "hidden";
Line 191... Line 174...
191 anim.always( function() { 174 anim.always(function() {
-   175 style.overflow = opts.overflow[ 0 ];
-   176 style.overflowX = opts.overflow[ 1 ];
-   177 style.overflowY = opts.overflow[ 2 ];
-   178 });
-   179 }
-   180  
-   181 // show/hide pass
-   182 for ( prop in props ) {
-   183 value = props[ prop ];
192 style.overflow = opts.overflow[ 0 ]; 184 if ( rfxtypes.exec( value ) ) {
-   185 delete props[ prop ];
-   186 toggle = toggle || value === "toggle";
-   187 if ( value === ( hidden ? "hide" : "show" ) ) {
-   188  
-   189 // If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden
-   190 if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) {
-   191 hidden = true;
-   192 } else {
193 style.overflowX = opts.overflow[ 1 ]; 193 continue;
-   194 }
-   195 }
Line 194... Line -...
194 style.overflowY = opts.overflow[ 2 ]; -  
195 } ); 196 orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );
196 } 197  
197   198 // Any non-fx value stops us from restoring the original display value
198 // Implement show/hide animations 199 } else {
199 propTween = false; 200 display = undefined;
200 for ( prop in orig ) { 201 }
201   202 }
202 // General show/hide setup for this element animation 203  
Line 203... Line 204...
203 if ( !propTween ) { 204 if ( !jQuery.isEmptyObject( orig ) ) {
204 if ( dataShow ) { 205 if ( dataShow ) {
205 if ( "hidden" in dataShow ) { 206 if ( "hidden" in dataShow ) {
206 hidden = dataShow.hidden; 207 hidden = dataShow.hidden;
207 } -  
208 } else { -  
209 dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); 208 }
-   209 } else {
-   210 dataShow = data_priv.access( elem, "fxshow", {} );
-   211 }
210 } 212  
-   213 // Store state if its toggle - enables .stop().toggle() to "reverse"
211   214 if ( toggle ) {
212 // Store hidden/visible for toggle so `.stop().toggle()` "reverses" -  
213 if ( toggle ) { -  
214 dataShow.hidden = !hidden; -  
215 } 215 dataShow.hidden = !hidden;
-   216 }
Line 216... Line -...
216   -  
217 // Show elements before animating them -  
218 if ( hidden ) { -  
219 showHide( [ elem ], true ); -  
220 } -  
221   -  
222 /* eslint-disable no-loop-func */ 217 if ( hidden ) {
223   218 jQuery( elem ).show();
224 anim.done( function() { 219 } else {
225   220 anim.done(function() {
226 /* eslint-enable no-loop-func */ 221 jQuery( elem ).hide();
227   222 });
-   223 }
Line 228... Line -...
228 // The final step of a "hide" animation is actually hiding the element -  
229 if ( !hidden ) { -  
230 showHide( [ elem ] ); 224 anim.done(function() {
231 } 225 var prop;
232 dataPriv.remove( elem, "fxshow" ); 226  
233 for ( prop in orig ) { 227 data_priv.remove( elem, "fxshow" );
234 jQuery.style( elem, prop, orig[ prop ] ); 228 for ( prop in orig ) {
235 } 229 jQuery.style( elem, prop, orig[ prop ] );
236 } ); 230 }
237 } 231 });
-   232 for ( prop in orig ) {
-   233 tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );
-   234  
-   235 if ( !( prop in dataShow ) ) {
-   236 dataShow[ prop ] = tween.start;
238   237 if ( hidden ) {
Line 239... Line 238...
239 // Per-property setup 238 tween.end = tween.start;
240 propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); 239 tween.start = prop === "width" || prop === "height" ? 1 : 0;
Line 287... Line 286...
287   286  
288 function Animation( elem, properties, options ) { 287 function Animation( elem, properties, options ) {
289 var result, 288 var result,
290 stopped, 289 stopped,
291 index = 0, 290 index = 0,
292 length = Animation.prefilters.length, 291 length = animationPrefilters.length,
293 deferred = jQuery.Deferred().always( function() { -  
294   292 deferred = jQuery.Deferred().always( function() {
295 // Don't match elem in the :animated selector 293 // Don't match elem in the :animated selector
296 delete tick.elem; 294 delete tick.elem;
297 } ), 295 }),
298 tick = function() { 296 tick = function() {
299 if ( stopped ) { 297 if ( stopped ) {
300 return false; 298 return false;
301 } 299 }
302 var currentTime = fxNow || createFxNow(), 300 var currentTime = fxNow || createFxNow(),
303 remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), -  
304   301 remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
305 // Support: Android 2.3 only 302 // Support: Android 2.3
306 // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) 303 // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)
307 temp = remaining / animation.duration || 0, 304 temp = remaining / animation.duration || 0,
308 percent = 1 - temp, 305 percent = 1 - temp,
309 index = 0, 306 index = 0,
Line 323... Line 320...
323 < length; index++ ) {< 1 && length ) { } 320 < length ; index++ ) {< 1 && length ) { }
324 < length; index++ ) {< 1 && length ) { }, 321 < length ; index++ ) {< 1 && length ) { },
325 < length; index++ ) {< 1 && length ) { animation = deferred.promise( { 322 < length ; index++ ) {< 1 && length ) { animation = deferred.promise({
326 < length; index++ ) {< 1 && length ) { elem: elem, 323 < length ; index++ ) {< 1 && length ) { elem: elem,
327 < length; index++ ) {< 1 && length ) { props: jQuery.extend( {}, properties ), 324 < length ; index++ ) {< 1 && length ) { props: jQuery.extend( {}, properties ),
328 < length; index++ ) {< 1 && length ) { opts: jQuery.extend( true, { 325 < length ; index++ ) {< 1 && length ) { opts: jQuery.extend( true, { specialEasing: {} }, options ),
329 < length; index++ ) {< 1 && length ) { specialEasing: {}, -  
330 < length; index++ ) {< 1 && length ) { easing: jQuery.easing._default -  
331 < length; index++ ) {< 1 && length ) { }, options ), -  
332 < length; index++ ) {< 1 && length ) { originalProperties: properties, 326 < length ; index++ ) {< 1 && length ) { originalProperties: properties,
333 < length; index++ ) {< 1 && length ) { originalOptions: options, 327 < length ; index++ ) {< 1 && length ) { originalOptions: options,
334 < length; index++ ) {< 1 && length ) { startTime: fxNow || createFxNow(), 328 < length ; index++ ) {< 1 && length ) { startTime: fxNow || createFxNow(),
335 < length; index++ ) {< 1 && length ) { duration: options.duration, 329 < length ; index++ ) {< 1 && length ) { duration: options.duration,
336 < length; index++ ) {< 1 && length ) { tweens: [], 330 < length ; index++ ) {< 1 && length ) { tweens: [],
Line 340... Line 334...
340 < length; index++ ) {< 1 && length ) { animation.tweens.push( tween ); 334 < length ; index++ ) {< 1 && length ) { animation.tweens.push( tween );
341 < length; index++ ) {< 1 && length ) { return tween; 335 < length ; index++ ) {< 1 && length ) { return tween;
342 < length; index++ ) {< 1 && length ) { }, 336 < length ; index++ ) {< 1 && length ) { },
343 < length; index++ ) {< 1 && length ) { stop: function( gotoEnd ) { 337 < length ; index++ ) {< 1 && length ) { stop: function( gotoEnd ) {
344 < length; index++ ) {< 1 && length ) { var index = 0, 338 < length ; index++ ) {< 1 && length ) { var index = 0,
345 < length; index++ ) {< 1 && length ) { -  
346 < length; index++ ) {< 1 && length ) { // If we are going to the end, we want to run all the tweens 339 < length ; index++ ) {< 1 && length ) { // If we are going to the end, we want to run all the tweens
347 < length; index++ ) {< 1 && length ) { // otherwise we skip this part 340 < length ; index++ ) {< 1 && length ) { // otherwise we skip this part
348 < length; index++ ) {< 1 && length ) { length = gotoEnd ? animation.tweens.length : 0; 341 < length ; index++ ) {< 1 && length ) { length = gotoEnd ? animation.tweens.length : 0;
349 < length; index++ ) {< 1 && length ) { if ( stopped ) { 342 < length ; index++ ) {< 1 && length ) { if ( stopped ) {
350 < length; index++ ) {< 1 && length ) { return this; 343 < length ; index++ ) {< 1 && length ) { return this;
Line 354... Line 347...
354 < length; index++ ) {< 1 && length ) {< length; index++ ) { animation.tweens[ index ].run( 1 ); 347 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { animation.tweens[ index ].run( 1 );
355 < length; index++ ) {< 1 && length ) {< length; index++ ) { } 348 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { }
Line 356... Line 349...
356 < length; index++ ) {< 1 && length ) {< length; index++ ) { 349 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {
357 < length; index++ ) {< 1 && length ) {< length; index++ ) { // Resolve when we played the last frame; otherwise, reject 350 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { // Resolve when we played the last frame; otherwise, reject
358 < length; index++ ) {< 1 && length ) {< length; index++ ) { if ( gotoEnd ) { -  
359 < length; index++ ) {< 1 && length ) {< length; index++ ) { deferred.notifyWith( elem, [ animation, 1, 0 ] ); 351 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { if ( gotoEnd ) {
360 < length; index++ ) {< 1 && length ) {< length; index++ ) { deferred.resolveWith( elem, [ animation, gotoEnd ] ); 352 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { deferred.resolveWith( elem, [ animation, gotoEnd ] );
361 < length; index++ ) {< 1 && length ) {< length; index++ ) { } else { 353 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { } else {
362 < length; index++ ) {< 1 && length ) {< length; index++ ) { deferred.rejectWith( elem, [ animation, gotoEnd ] ); 354 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { deferred.rejectWith( elem, [ animation, gotoEnd ] );
363 < length; index++ ) {< 1 && length ) {< length; index++ ) { } 355 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { }
Line 367... Line 359...
367 < length; index++ ) {< 1 && length ) {< length; index++ ) { props = animation.props; 359 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { props = animation.props;
Line 368... Line 360...
368 < length; index++ ) {< 1 && length ) {< length; index++ ) { 360 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {
Line 369... Line 361...
369 < length; index++ ) {< 1 && length ) {< length; index++ ) { propFilter( props, animation.opts.specialEasing ); 361 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { propFilter( props, animation.opts.specialEasing );
370 < length; index++ ) {< 1 && length ) {< length; index++ ) { 362 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {
371 < length; index++ ) {< 1 && length ) {< length; index++ ) { for ( ; index < length; index++ ) { 363 < length ; index++ ) {< 1 && length ) {< length ; index++ ) { for ( ; index < length ; index++ ) {
372 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); -  
373 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { if ( result ) { -  
374 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { if ( jQuery.isFunction( result.stop ) ) { -  
375 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = -  
376 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { jQuery.proxy( result.stop, result ); 364 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { result = animationPrefilters[ index ].call( animation, elem, props, animation.opts );
377 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { } 365 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { if ( result ) {
378 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { return result; 366 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { return result;
Line 379... Line 367...
379 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { } 367 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { }
Line 400... Line 388...
400 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { .always( animation.opts.always ); 388 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { .always( animation.opts.always );
401 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {} 389 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {}
Line 402... Line 390...
402 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { 390 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {
Line 403... Line -...
403 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {jQuery.Animation = jQuery.extend( Animation, { -  
404 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { -  
405 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { tweeners: { -  
406 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { "*": [ function( prop, value ) { -  
407 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { var tween = this.createTween( prop, value ); -  
408 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); -  
409 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { return tween; -  
410 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { } ] -  
411 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { }, 391 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {jQuery.Animation = jQuery.extend( Animation, {
412 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { 392 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {
413 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { tweener: function( props, callback ) { 393 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { tweener: function( props, callback ) {
414 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { if ( jQuery.isFunction( props ) ) { 394 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { if ( jQuery.isFunction( props ) ) {
415 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { callback = props; 395 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { callback = props;
416 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { props = [ "*" ]; 396 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { props = [ "*" ];
417 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { } else { 397 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { } else {
Line 418... Line 398...
418 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { props = props.match( rnothtmlwhite ); 398 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { props = props.split(" ");
419 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { } 399 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { }
420 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { 400 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {
Line 421... Line 401...
421 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { var prop, 401 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { var prop,
422 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { index = 0, 402 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { index = 0,
423 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { length = props.length; 403 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { length = props.length;
424 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { 404 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {
425 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { for ( ; index < length; index++ ) { 405 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) { for ( ; index < length ; index++ ) {
426 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { prop = props[ index ]; 406 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { prop = props[ index ];
Line 427... Line -...
427 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; -  
428 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { Animation.tweeners[ prop ].unshift( callback ); -  
429 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } 407 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { tweeners[ prop ] = tweeners[ prop ] || [];
430 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }, 408 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { tweeners[ prop ].unshift( callback );
431 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 409 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { }
432 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { prefilters: [ defaultPrefilter ], 410 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { },
433 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 411 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {
434 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { prefilter: function( callback, prepend ) { 412 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { prefilter: function( callback, prepend ) {
435 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( prepend ) { 413 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { if ( prepend ) {
436 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { Animation.prefilters.unshift( callback ); 414 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { animationPrefilters.unshift( callback );
Line 437... Line 415...
437 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } else { 415 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { } else {
Line 446... Line 424...
446 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { jQuery.isFunction( speed ) && speed, 424 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { jQuery.isFunction( speed ) && speed,
447 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { duration: speed, 425 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { duration: speed,
448 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing 426 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
449 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }; 427 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { };
Line 450... Line -...
450 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { -  
451 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Go to the end state if fx are off or if document is hidden -  
452 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( jQuery.fx.off || document.hidden ) { -  
453 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { opt.duration = 0; -  
454 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { -  
455 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } else { 428 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {
456 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( typeof opt.duration !== "number" ) { -  
457 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( opt.duration in jQuery.fx.speeds ) { 429 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
458 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { opt.duration = jQuery.fx.speeds[ opt.duration ]; -  
459 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { -  
460 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } else { -  
461 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { opt.duration = jQuery.fx.speeds._default; -  
462 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } -  
463 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } -  
Line 464... Line 430...
464 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } 430 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
465 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 431 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {
466 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Normalize opt.queue - true/undefined/null -> "fx" 432 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { // Normalize opt.queue - true/undefined/null -> "fx"
467 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( opt.queue == null || opt.queue === true ) { 433 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { if ( opt.queue == null || opt.queue === true ) {
Line 486... Line 452...
486 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 452 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {
487 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {jQuery.fn.extend( { 453 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {jQuery.fn.extend({
Line 488... Line 454...
488 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { fadeTo: function( speed, to, easing, callback ) { 454 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { fadeTo: function( speed, to, easing, callback ) {
489 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 455 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {
Line 490... Line 456...
490 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Show any hidden elements after setting opacity to 0 456 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { // Show any hidden elements after setting opacity to 0
491 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() 457 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { return this.filter( isHidden ).css( "opacity", 0 ).show()
492 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 458 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {
493 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Animate to the value specified 459 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { // Animate to the value specified
494 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { .end().animate( { opacity: to }, speed, easing, callback ); 460 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { .end().animate({ opacity: to }, speed, easing, callback );
495 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }, 461 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { },
496 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { animate: function( prop, speed, easing, callback ) { 462 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { animate: function( prop, speed, easing, callback ) {
497 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var empty = jQuery.isEmptyObject( prop ), -  
498 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { optall = jQuery.speed( speed, easing, callback ), 463 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { var empty = jQuery.isEmptyObject( prop ),
499 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { doAnimation = function() { 464 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { optall = jQuery.speed( speed, easing, callback ),
Line 500... Line 465...
500 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 465 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { doAnimation = function() {
501 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Operate on a copy of prop so per-property easing won't be lost 466 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { // Operate on a copy of prop so per-property easing won't be lost
502 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var anim = Animation( this, jQuery.extend( {}, prop ), optall ); 467 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { var anim = Animation( this, jQuery.extend( {}, prop ), optall );
503 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 468 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {
504 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Empty animations, or finishing resolves immediately 469 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { // Empty animations, or finishing resolves immediately
505 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( empty || dataPriv.get( this, "finish" ) ) { 470 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { if ( empty || data_priv.get( this, "finish" ) ) {
Line 530... Line 495...
530 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 495 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {
531 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { return this.each( function() { 496 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { return this.each(function() {
532 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var dequeue = true, 497 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { var dequeue = true,
533 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { index = type != null && type + "queueHooks", 498 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { index = type != null && type + "queueHooks",
534 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers = jQuery.timers, 499 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { timers = jQuery.timers,
Line 535... Line 500...
535 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { data = dataPriv.get( this ); 500 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { data = data_priv.get( this );
536 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 501 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {
537 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( index ) { 502 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { if ( index ) {
538 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( data[ index ] && data[ index ].stop ) { 503 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { if ( data[ index ] && data[ index ].stop ) {
Line 545... Line 510...
545 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } 510 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { }
546 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } 511 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { }
547 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } 512 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { }
Line 548... Line 513...
548 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 513 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {
549 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { for ( index = timers.length; index--; ) { -  
550 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( timers[ index ].elem === this && 514 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { for ( index = timers.length; index--; ) {
551 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { ( type == null || timers[ index ].queue === type ) ) { -  
552 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 515 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {
553 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers[ index ].anim.stop( gotoEnd ); 516 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { timers[ index ].anim.stop( gotoEnd );
554 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { dequeue = false; 517 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { dequeue = false;
555 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers.splice( index, 1 ); 518 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { timers.splice( index, 1 );
556 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } 519 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { }
Line 568... Line 531...
568 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( type !== false ) { 531 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { if ( type !== false ) {
569 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { type = type || "fx"; 532 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { type = type || "fx";
570 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } 533 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { }
571 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { return this.each( function() { 534 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { return this.each(function() {
572 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var index, 535 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { var index,
573 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { data = dataPriv.get( this ), 536 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { data = data_priv.get( this ),
574 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { queue = data[ type + "queue" ], 537 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { queue = data[ type + "queue" ],
575 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { hooks = data[ type + "queueHooks" ], 538 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { hooks = data[ type + "queueHooks" ],
576 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers = jQuery.timers, 539 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { timers = jQuery.timers,
577 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { length = queue ? queue.length : 0; 540 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) { length = queue ? queue.length : 0;
Line 638... Line 601...
638 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 601 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {
Line 639... Line 602...
639 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { fxNow = jQuery.now(); 602 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) { fxNow = jQuery.now();
640 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { 603 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {
641 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { for ( ; i < timers.length; i++ ) { -  
642 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { timer = timers[ i ]; 604 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) { for ( ; i < timers.length; i++ ) {
643 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { 605 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { timer = timers[ i ];
644 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { // Checks the timer has not already been removed 606 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { // Checks the timer has not already been removed
645 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { if ( !timer() && timers[ i ] === timer ) { 607 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { if ( !timer() && timers[ i ] === timer ) {
646 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { timers.splice( i--, 1 ); 608 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { timers.splice( i--, 1 );
Line 661... Line 623...
661 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { jQuery.timers.pop(); 623 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { jQuery.timers.pop();
662 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { } 624 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { }
663 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {}; 625 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {};
Line 664... Line 626...
664 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { 626 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {
-   627 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.interval = 13;
665 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.interval = 13; 628 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {
666 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.start = function() { 629 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.start = function() {
667 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { if ( !timerId ) { -  
668 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { timerId = window.requestAnimationFrame ? -  
669 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { window.requestAnimationFrame( raf ) : 630 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { if ( !timerId ) {
670 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { window.setInterval( jQuery.fx.tick, jQuery.fx.interval ); 631 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );
671 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { } 632 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { }
Line 672... Line 633...
672 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {}; 633 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {};
673 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { -  
674 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.stop = function() { -  
675 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { if ( window.cancelAnimationFrame ) { -  
676 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { window.cancelAnimationFrame( timerId ); 634 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {
677 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { } else { -  
678 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { window.clearInterval( timerId ); -  
679 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { } 635 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.stop = function() {
680 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { 636 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { clearInterval( timerId );
Line 681... Line 637...
681 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { timerId = null; 637 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { timerId = null;
682 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {}; 638 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {};
683 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { 639 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {
684 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.speeds = { -  
685 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { slow: 600, 640 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.speeds = {
686 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { fast: 200, 641 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { slow: 600,
687 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { 642 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { fast: 200,
Line 688... Line 643...
688 < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { // Default speed 643 < length ; index++ ) {< 1 && length ) {< length ; index++ ) {< length ; index++ ) {< length ; index++ ) {< length; index++ ) {< timers.length; i++ ) { // Default speed