corrade-nucleus-nucleons – Blame information for rev
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | define( [ |
2 | "./core", |
||
3 | "./var/document", |
||
4 | "./var/rcssNum", |
||
5 | "./var/rnothtmlwhite", |
||
6 | "./css/var/cssExpand", |
||
7 | "./css/var/isHiddenWithinTree", |
||
8 | "./css/var/swap", |
||
9 | "./css/adjustCSS", |
||
10 | "./data/var/dataPriv", |
||
11 | "./css/showHide", |
||
12 | |||
13 | "./core/init", |
||
14 | "./queue", |
||
15 | "./deferred", |
||
16 | "./traversing", |
||
17 | "./manipulation", |
||
18 | "./css", |
||
19 | "./effects/Tween" |
||
20 | ], function( jQuery, document, rcssNum, rnothtmlwhite, cssExpand, isHiddenWithinTree, swap, |
||
21 | adjustCSS, dataPriv, showHide ) { |
||
22 | |||
23 | "use strict"; |
||
24 | |||
25 | var |
||
26 | fxNow, inProgress, |
||
27 | rfxtypes = /^(?:toggle|show|hide)$/, |
||
28 | rrun = /queueHooks$/; |
||
29 | |||
30 | function schedule() { |
||
31 | if ( inProgress ) { |
||
32 | if ( document.hidden === false && window.requestAnimationFrame ) { |
||
33 | window.requestAnimationFrame( schedule ); |
||
34 | } else { |
||
35 | window.setTimeout( schedule, jQuery.fx.interval ); |
||
36 | } |
||
37 | |||
38 | jQuery.fx.tick(); |
||
39 | } |
||
40 | } |
||
41 | |||
42 | // Animations created synchronously will run synchronously |
||
43 | function createFxNow() { |
||
44 | window.setTimeout( function() { |
||
45 | fxNow = undefined; |
||
46 | } ); |
||
47 | return ( fxNow = jQuery.now() ); |
||
48 | } |
||
49 | |||
50 | // Generate parameters to create a standard animation |
||
51 | function genFx( type, includeWidth ) { |
||
52 | var which, |
||
53 | i = 0, |
||
54 | attrs = { height: type }; |
||
55 | |||
56 | // If we include width, step value is 1 to do all cssExpand values, |
||
57 | // otherwise step value is 2 to skip over Left and Right |
||
58 | includeWidth = includeWidth ? 1 : 0; |
||
59 | for ( ; i < 4; i += 2 - includeWidth ) { |
||
60 | which = cssExpand[ i ]; |
||
61 | attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; |
||
62 | } |
||
63 | |||
64 | if ( includeWidth ) { |
||
65 | attrs.opacity = attrs.width = type; |
||
66 | } |
||
67 | |||
68 | return attrs; |
||
69 | } |
||
70 | |||
71 | function createTween( value, prop, animation ) { |
||
72 | var tween, |
||
73 | collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), |
||
74 | index = 0, |
||
75 | length = collection.length; |
||
76 | for ( ; index < length; index++ ) { |
||
77 | if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { |
||
78 | |||
79 | // We're done with this property |
||
80 | return tween; |
||
81 | } |
||
82 | } |
||
83 | } |
||
84 | |||
85 | function defaultPrefilter( elem, props, opts ) { |
||
86 | var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, |
||
87 | isBox = "width" in props || "height" in props, |
||
88 | anim = this, |
||
89 | orig = {}, |
||
90 | style = elem.style, |
||
91 | hidden = elem.nodeType && isHiddenWithinTree( elem ), |
||
92 | dataShow = dataPriv.get( elem, "fxshow" ); |
||
93 | |||
94 | // Queue-skipping animations hijack the fx hooks |
||
95 | if ( !opts.queue ) { |
||
96 | hooks = jQuery._queueHooks( elem, "fx" ); |
||
97 | if ( hooks.unqueued == null ) { |
||
98 | hooks.unqueued = 0; |
||
99 | oldfire = hooks.empty.fire; |
||
100 | hooks.empty.fire = function() { |
||
101 | if ( !hooks.unqueued ) { |
||
102 | oldfire(); |
||
103 | } |
||
104 | }; |
||
105 | } |
||
106 | hooks.unqueued++; |
||
107 | |||
108 | anim.always( function() { |
||
109 | |||
110 | // Ensure the complete handler is called before this completes |
||
111 | anim.always( function() { |
||
112 | hooks.unqueued--; |
||
113 | if ( !jQuery.queue( elem, "fx" ).length ) { |
||
114 | hooks.empty.fire(); |
||
115 | } |
||
116 | } ); |
||
117 | } ); |
||
118 | } |
||
119 | |||
120 | // Detect show/hide animations |
||
121 | for ( prop in props ) { |
||
122 | value = props[ prop ]; |
||
123 | if ( rfxtypes.test( value ) ) { |
||
124 | delete props[ prop ]; |
||
125 | toggle = toggle || value === "toggle"; |
||
126 | if ( value === ( hidden ? "hide" : "show" ) ) { |
||
127 | |||
128 | // Pretend to be hidden if this is a "show" and |
||
129 | // there is still data from a stopped show/hide |
||
130 | if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { |
||
131 | hidden = true; |
||
132 | |||
133 | // Ignore all other no-op show/hide data |
||
134 | } else { |
||
135 | continue; |
||
136 | } |
||
137 | } |
||
138 | orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); |
||
139 | } |
||
140 | } |
||
141 | |||
142 | // Bail out if this is a no-op like .hide().hide() |
||
143 | propTween = !jQuery.isEmptyObject( props ); |
||
144 | if ( !propTween && jQuery.isEmptyObject( orig ) ) { |
||
145 | return; |
||
146 | } |
||
147 | |||
148 | // Restrict "overflow" and "display" styles during box animations |
||
149 | if ( isBox && elem.nodeType === 1 ) { |
||
150 | |||
151 | // Support: IE <=9 - 11, Edge 12 - 13 |
||
152 | // Record all 3 overflow attributes because IE does not infer the shorthand |
||
153 | // from identically-valued overflowX and overflowY |
||
154 | opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; |
||
155 | |||
156 | // Identify a display type, preferring old show/hide data over the CSS cascade |
||
157 | restoreDisplay = dataShow && dataShow.display; |
||
158 | if ( restoreDisplay == null ) { |
||
159 | restoreDisplay = dataPriv.get( elem, "display" ); |
||
160 | } |
||
161 | display = jQuery.css( elem, "display" ); |
||
162 | if ( display === "none" ) { |
||
163 | if ( restoreDisplay ) { |
||
164 | display = restoreDisplay; |
||
165 | } else { |
||
166 | |||
167 | // Get nonempty value(s) by temporarily forcing visibility |
||
168 | showHide( [ elem ], true ); |
||
169 | restoreDisplay = elem.style.display || restoreDisplay; |
||
170 | display = jQuery.css( elem, "display" ); |
||
171 | showHide( [ elem ] ); |
||
172 | } |
||
173 | } |
||
174 | |||
175 | // Animate inline elements as inline-block |
||
176 | if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { |
||
177 | if ( jQuery.css( elem, "float" ) === "none" ) { |
||
178 | |||
179 | // Restore the original display value at the end of pure show/hide animations |
||
180 | if ( !propTween ) { |
||
181 | anim.done( function() { |
||
182 | style.display = restoreDisplay; |
||
183 | } ); |
||
184 | if ( restoreDisplay == null ) { |
||
185 | display = style.display; |
||
186 | restoreDisplay = display === "none" ? "" : display; |
||
187 | } |
||
188 | } |
||
189 | style.display = "inline-block"; |
||
190 | } |
||
191 | } |
||
192 | } |
||
193 | |||
194 | if ( opts.overflow ) { |
||
195 | style.overflow = "hidden"; |
||
196 | anim.always( function() { |
||
197 | style.overflow = opts.overflow[ 0 ]; |
||
198 | style.overflowX = opts.overflow[ 1 ]; |
||
199 | style.overflowY = opts.overflow[ 2 ]; |
||
200 | } ); |
||
201 | } |
||
202 | |||
203 | // Implement show/hide animations |
||
204 | propTween = false; |
||
205 | for ( prop in orig ) { |
||
206 | |||
207 | // General show/hide setup for this element animation |
||
208 | if ( !propTween ) { |
||
209 | if ( dataShow ) { |
||
210 | if ( "hidden" in dataShow ) { |
||
211 | hidden = dataShow.hidden; |
||
212 | } |
||
213 | } else { |
||
214 | dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); |
||
215 | } |
||
216 | |||
217 | // Store hidden/visible for toggle so `.stop().toggle()` "reverses" |
||
218 | if ( toggle ) { |
||
219 | dataShow.hidden = !hidden; |
||
220 | } |
||
221 | |||
222 | // Show elements before animating them |
||
223 | if ( hidden ) { |
||
224 | showHide( [ elem ], true ); |
||
225 | } |
||
226 | |||
227 | /* eslint-disable no-loop-func */ |
||
228 | |||
229 | anim.done( function() { |
||
230 | |||
231 | /* eslint-enable no-loop-func */ |
||
232 | |||
233 | // The final step of a "hide" animation is actually hiding the element |
||
234 | if ( !hidden ) { |
||
235 | showHide( [ elem ] ); |
||
236 | } |
||
237 | dataPriv.remove( elem, "fxshow" ); |
||
238 | for ( prop in orig ) { |
||
239 | jQuery.style( elem, prop, orig[ prop ] ); |
||
240 | } |
||
241 | } ); |
||
242 | } |
||
243 | |||
244 | // Per-property setup |
||
245 | propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); |
||
246 | if ( !( prop in dataShow ) ) { |
||
247 | dataShow[ prop ] = propTween.start; |
||
248 | if ( hidden ) { |
||
249 | propTween.end = propTween.start; |
||
250 | propTween.start = 0; |
||
251 | } |
||
252 | } |
||
253 | } |
||
254 | } |
||
255 | |||
256 | function propFilter( props, specialEasing ) { |
||
257 | var index, name, easing, value, hooks; |
||
258 | |||
259 | // camelCase, specialEasing and expand cssHook pass |
||
260 | for ( index in props ) { |
||
261 | name = jQuery.camelCase( index ); |
||
262 | easing = specialEasing[ name ]; |
||
263 | value = props[ index ]; |
||
264 | if ( Array.isArray( value ) ) { |
||
265 | easing = value[ 1 ]; |
||
266 | value = props[ index ] = value[ 0 ]; |
||
267 | } |
||
268 | |||
269 | if ( index !== name ) { |
||
270 | props[ name ] = value; |
||
271 | delete props[ index ]; |
||
272 | } |
||
273 | |||
274 | hooks = jQuery.cssHooks[ name ]; |
||
275 | if ( hooks && "expand" in hooks ) { |
||
276 | value = hooks.expand( value ); |
||
277 | delete props[ name ]; |
||
278 | |||
279 | // Not quite $.extend, this won't overwrite existing keys. |
||
280 | // Reusing 'index' because we have the correct "name" |
||
281 | for ( index in value ) { |
||
282 | if ( !( index in props ) ) { |
||
283 | props[ index ] = value[ index ]; |
||
284 | specialEasing[ index ] = easing; |
||
285 | } |
||
286 | } |
||
287 | } else { |
||
288 | specialEasing[ name ] = easing; |
||
289 | } |
||
290 | } |
||
291 | } |
||
292 | |||
293 | function Animation( elem, properties, options ) { |
||
294 | var result, |
||
295 | stopped, |
||
296 | index = 0, |
||
297 | length = Animation.prefilters.length, |
||
298 | deferred = jQuery.Deferred().always( function() { |
||
299 | |||
300 | // Don't match elem in the :animated selector |
||
301 | delete tick.elem; |
||
302 | } ), |
||
303 | tick = function() { |
||
304 | if ( stopped ) { |
||
305 | return false; |
||
306 | } |
||
307 | var currentTime = fxNow || createFxNow(), |
||
308 | remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), |
||
309 | |||
310 | // Support: Android 2.3 only |
||
311 | // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) |
||
312 | temp = remaining / animation.duration || 0, |
||
313 | percent = 1 - temp, |
||
314 | index = 0, |
||
315 | length = animation.tweens.length; |
||
316 | |||
317 | for ( ; index < length; index++ ) {> |
||
318 | < length; index++ ) { animation.tweens[ index ].run( percent );> |
||
319 | < length; index++ ) { }> |
||
320 | |||
321 | < length; index++ ) { deferred.notifyWith( elem, [ animation, percent, remaining ] );> |
||
322 | |||
323 | < length; index++ ) { // If there's more to do, yield> |
||
324 | < length; index++ ) { if ( percent < 1 && length ) {>> |
||
325 | < length; index++ ) {< 1 && length ) { return remaining;>> |
||
326 | < length; index++ ) {< 1 && length ) { }>> |
||
327 | |||
328 | < length; index++ ) {< 1 && length ) { // If this was an empty animation, synthesize a final progress notification>> |
||
329 | < length; index++ ) {< 1 && length ) { if ( !length ) {>> |
||
330 | < length; index++ ) {< 1 && length ) { deferred.notifyWith( elem, [ animation, 1, 0 ] );>> |
||
331 | < length; index++ ) {< 1 && length ) { }>> |
||
332 | |||
333 | < length; index++ ) {< 1 && length ) { // Resolve the animation and report its conclusion>> |
||
334 | < length; index++ ) {< 1 && length ) { deferred.resolveWith( elem, [ animation ] );>> |
||
335 | < length; index++ ) {< 1 && length ) { return false;>> |
||
336 | < length; index++ ) {< 1 && length ) { },>> |
||
337 | < length; index++ ) {< 1 && length ) { animation = deferred.promise( {>> |
||
338 | < length; index++ ) {< 1 && length ) { elem: elem,>> |
||
339 | < length; index++ ) {< 1 && length ) { props: jQuery.extend( {}, properties ),>> |
||
340 | < length; index++ ) {< 1 && length ) { opts: jQuery.extend( true, {>> |
||
341 | < length; index++ ) {< 1 && length ) { specialEasing: {},>> |
||
342 | < length; index++ ) {< 1 && length ) { easing: jQuery.easing._default>> |
||
343 | < length; index++ ) {< 1 && length ) { }, options ),>> |
||
344 | < length; index++ ) {< 1 && length ) { originalProperties: properties,>> |
||
345 | < length; index++ ) {< 1 && length ) { originalOptions: options,>> |
||
346 | < length; index++ ) {< 1 && length ) { startTime: fxNow || createFxNow(),>> |
||
347 | < length; index++ ) {< 1 && length ) { duration: options.duration,>> |
||
348 | < length; index++ ) {< 1 && length ) { tweens: [],>> |
||
349 | < length; index++ ) {< 1 && length ) { createTween: function( prop, end ) {>> |
||
350 | < length; index++ ) {< 1 && length ) { var tween = jQuery.Tween( elem, animation.opts, prop, end,>> |
||
351 | < length; index++ ) {< 1 && length ) { animation.opts.specialEasing[ prop ] || animation.opts.easing );>> |
||
352 | < length; index++ ) {< 1 && length ) { animation.tweens.push( tween );>> |
||
353 | < length; index++ ) {< 1 && length ) { return tween;>> |
||
354 | < length; index++ ) {< 1 && length ) { },>> |
||
355 | < length; index++ ) {< 1 && length ) { stop: function( gotoEnd ) {>> |
||
356 | < length; index++ ) {< 1 && length ) { var index = 0,>> |
||
357 | |||
358 | < length; index++ ) {< 1 && length ) { // If we are going to the end, we want to run all the tweens>> |
||
359 | < length; index++ ) {< 1 && length ) { // otherwise we skip this part>> |
||
360 | < length; index++ ) {< 1 && length ) { length = gotoEnd ? animation.tweens.length : 0;>> |
||
361 | < length; index++ ) {< 1 && length ) { if ( stopped ) {>> |
||
362 | < length; index++ ) {< 1 && length ) { return this;>> |
||
363 | < length; index++ ) {< 1 && length ) { }>> |
||
364 | < length; index++ ) {< 1 && length ) { stopped = true;>> |
||
365 | < length; index++ ) {< 1 && length ) { for ( ; index < length; index++ ) {>>> |
||
366 | < length; index++ ) {< 1 && length ) {< length; index++ ) { animation.tweens[ index ].run( 1 );>>> |
||
367 | < length; index++ ) {< 1 && length ) {< length; index++ ) { }>>> |
||
368 | |||
369 | < length; index++ ) {< 1 && length ) {< length; index++ ) { // Resolve when we played the last frame; otherwise, reject>>> |
||
370 | < length; index++ ) {< 1 && length ) {< length; index++ ) { if ( gotoEnd ) {>>> |
||
371 | < length; index++ ) {< 1 && length ) {< length; index++ ) { deferred.notifyWith( elem, [ animation, 1, 0 ] );>>> |
||
372 | < length; index++ ) {< 1 && length ) {< length; index++ ) { deferred.resolveWith( elem, [ animation, gotoEnd ] );>>> |
||
373 | < length; index++ ) {< 1 && length ) {< length; index++ ) { } else {>>> |
||
374 | < length; index++ ) {< 1 && length ) {< length; index++ ) { deferred.rejectWith( elem, [ animation, gotoEnd ] );>>> |
||
375 | < length; index++ ) {< 1 && length ) {< length; index++ ) { }>>> |
||
376 | < length; index++ ) {< 1 && length ) {< length; index++ ) { return this;>>> |
||
377 | < length; index++ ) {< 1 && length ) {< length; index++ ) { }>>> |
||
378 | < length; index++ ) {< 1 && length ) {< length; index++ ) { } ),>>> |
||
379 | < length; index++ ) {< 1 && length ) {< length; index++ ) { props = animation.props;>>> |
||
380 | |||
381 | < length; index++ ) {< 1 && length ) {< length; index++ ) { propFilter( props, animation.opts.specialEasing );>>> |
||
382 | |||
383 | < length; index++ ) {< 1 && length ) {< length; index++ ) { for ( ; index < length; index++ ) {>>>> |
||
384 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );>>>> |
||
385 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { if ( result ) {>>>> |
||
386 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { if ( jQuery.isFunction( result.stop ) ) {>>>> |
||
387 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { jQuery._queueHooks( animation.elem, animation.opts.queue ).stop =>>>> |
||
388 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { jQuery.proxy( result.stop, result );>>>> |
||
389 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { }>>>> |
||
390 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { return result;>>>> |
||
391 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { }>>>> |
||
392 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { }>>>> |
||
393 | |||
394 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { jQuery.map( props, createTween, animation );>>>> |
||
395 | |||
396 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { if ( jQuery.isFunction( animation.opts.start ) ) {>>>> |
||
397 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { animation.opts.start.call( elem, animation );>>>> |
||
398 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { }>>>> |
||
399 | |||
400 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { // Attach callbacks from options>>>> |
||
401 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { animation>>>> |
||
402 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { .progress( animation.opts.progress )>>>> |
||
403 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { .done( animation.opts.done, animation.opts.complete )>>>> |
||
404 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { .fail( animation.opts.fail )>>>> |
||
405 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { .always( animation.opts.always );>>>> |
||
406 | |||
407 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { jQuery.fx.timer(>>>> |
||
408 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { jQuery.extend( tick, {>>>> |
||
409 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { elem: elem,>>>> |
||
410 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { anim: animation,>>>> |
||
411 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { queue: animation.opts.queue>>>> |
||
412 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { } )>>>> |
||
413 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { );>>>> |
||
414 | |||
415 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { return animation;>>>> |
||
416 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {}>>>> |
||
417 | |||
418 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {jQuery.Animation = jQuery.extend( Animation, {>>>> |
||
419 | |||
420 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { tweeners: {>>>> |
||
421 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { "*": [ function( prop, value ) {>>>> |
||
422 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { var tween = this.createTween( prop, value );>>>> |
||
423 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );>>>> |
||
424 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { return tween;>>>> |
||
425 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { } ]>>>> |
||
426 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { },>>>> |
||
427 | |||
428 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { tweener: function( props, callback ) {>>>> |
||
429 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { if ( jQuery.isFunction( props ) ) {>>>> |
||
430 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { callback = props;>>>> |
||
431 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { props = [ "*" ];>>>> |
||
432 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { } else {>>>> |
||
433 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { props = props.match( rnothtmlwhite );>>>> |
||
434 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { }>>>> |
||
435 | |||
436 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { var prop,>>>> |
||
437 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { index = 0,>>>> |
||
438 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { length = props.length;>>>> |
||
439 | |||
440 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) { for ( ; index < length; index++ ) {>>>>> |
||
441 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { prop = props[ index ];>>>>> |
||
442 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];>>>>> |
||
443 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { Animation.tweeners[ prop ].unshift( callback );>>>>> |
||
444 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
445 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { },>>>>> |
||
446 | |||
447 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { prefilters: [ defaultPrefilter ],>>>>> |
||
448 | |||
449 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { prefilter: function( callback, prepend ) {>>>>> |
||
450 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( prepend ) {>>>>> |
||
451 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { Animation.prefilters.unshift( callback );>>>>> |
||
452 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } else {>>>>> |
||
453 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { Animation.prefilters.push( callback );>>>>> |
||
454 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
455 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
456 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {} );>>>>> |
||
457 | |||
458 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {jQuery.speed = function( speed, easing, fn ) {>>>>> |
||
459 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {>>>>> |
||
460 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { complete: fn || !fn && easing ||>>>>> |
||
461 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { jQuery.isFunction( speed ) && speed,>>>>> |
||
462 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { duration: speed,>>>>> |
||
463 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing>>>>> |
||
464 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { };>>>>> |
||
465 | |||
466 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Go to the end state if fx are off>>>>> |
||
467 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( jQuery.fx.off ) {>>>>> |
||
468 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { opt.duration = 0;>>>>> |
||
469 | |||
470 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } else {>>>>> |
||
471 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( typeof opt.duration !== "number" ) {>>>>> |
||
472 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( opt.duration in jQuery.fx.speeds ) {>>>>> |
||
473 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { opt.duration = jQuery.fx.speeds[ opt.duration ];>>>>> |
||
474 | |||
475 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } else {>>>>> |
||
476 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { opt.duration = jQuery.fx.speeds._default;>>>>> |
||
477 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
478 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
479 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
480 | |||
481 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Normalize opt.queue - true/undefined/null -> "fx">>>>> |
||
482 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( opt.queue == null || opt.queue === true ) {>>>>> |
||
483 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { opt.queue = "fx";>>>>> |
||
484 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
485 | |||
486 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Queueing>>>>> |
||
487 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { opt.old = opt.complete;>>>>> |
||
488 | |||
489 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { opt.complete = function() {>>>>> |
||
490 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( jQuery.isFunction( opt.old ) ) {>>>>> |
||
491 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { opt.old.call( this );>>>>> |
||
492 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
493 | |||
494 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( opt.queue ) {>>>>> |
||
495 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { jQuery.dequeue( this, opt.queue );>>>>> |
||
496 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
497 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { };>>>>> |
||
498 | |||
499 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { return opt;>>>>> |
||
500 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {};>>>>> |
||
501 | |||
502 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {jQuery.fn.extend( {>>>>> |
||
503 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { fadeTo: function( speed, to, easing, callback ) {>>>>> |
||
504 | |||
505 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Show any hidden elements after setting opacity to 0>>>>> |
||
506 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show()>>>>> |
||
507 | |||
508 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Animate to the value specified>>>>> |
||
509 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { .end().animate( { opacity: to }, speed, easing, callback );>>>>> |
||
510 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { },>>>>> |
||
511 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { animate: function( prop, speed, easing, callback ) {>>>>> |
||
512 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var empty = jQuery.isEmptyObject( prop ),>>>>> |
||
513 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { optall = jQuery.speed( speed, easing, callback ),>>>>> |
||
514 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { doAnimation = function() {>>>>> |
||
515 | |||
516 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Operate on a copy of prop so per-property easing won't be lost>>>>> |
||
517 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var anim = Animation( this, jQuery.extend( {}, prop ), optall );>>>>> |
||
518 | |||
519 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Empty animations, or finishing resolves immediately>>>>> |
||
520 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( empty || dataPriv.get( this, "finish" ) ) {>>>>> |
||
521 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { anim.stop( true );>>>>> |
||
522 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
523 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { };>>>>> |
||
524 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { doAnimation.finish = doAnimation;>>>>> |
||
525 | |||
526 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { return empty || optall.queue === false ?>>>>> |
||
527 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { this.each( doAnimation ) :>>>>> |
||
528 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { this.queue( optall.queue, doAnimation );>>>>> |
||
529 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { },>>>>> |
||
530 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { stop: function( type, clearQueue, gotoEnd ) {>>>>> |
||
531 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var stopQueue = function( hooks ) {>>>>> |
||
532 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var stop = hooks.stop;>>>>> |
||
533 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { delete hooks.stop;>>>>> |
||
534 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { stop( gotoEnd );>>>>> |
||
535 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { };>>>>> |
||
536 | |||
537 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( typeof type !== "string" ) {>>>>> |
||
538 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { gotoEnd = clearQueue;>>>>> |
||
539 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { clearQueue = type;>>>>> |
||
540 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { type = undefined;>>>>> |
||
541 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
542 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( clearQueue && type !== false ) {>>>>> |
||
543 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { this.queue( type || "fx", [] );>>>>> |
||
544 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
545 | |||
546 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { return this.each( function() {>>>>> |
||
547 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var dequeue = true,>>>>> |
||
548 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { index = type != null && type + "queueHooks",>>>>> |
||
549 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers = jQuery.timers,>>>>> |
||
550 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { data = dataPriv.get( this );>>>>> |
||
551 | |||
552 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( index ) {>>>>> |
||
553 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( data[ index ] && data[ index ].stop ) {>>>>> |
||
554 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { stopQueue( data[ index ] );>>>>> |
||
555 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
556 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } else {>>>>> |
||
557 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { for ( index in data ) {>>>>> |
||
558 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {>>>>> |
||
559 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { stopQueue( data[ index ] );>>>>> |
||
560 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
561 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
562 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
563 | |||
564 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { for ( index = timers.length; index--; ) {>>>>> |
||
565 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( timers[ index ].elem === this &&>>>>> |
||
566 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { ( type == null || timers[ index ].queue === type ) ) {>>>>> |
||
567 | |||
568 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers[ index ].anim.stop( gotoEnd );>>>>> |
||
569 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { dequeue = false;>>>>> |
||
570 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers.splice( index, 1 );>>>>> |
||
571 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
572 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
573 | |||
574 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Start the next in the queue if the last step wasn't forced.>>>>> |
||
575 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Timers currently will call their complete callbacks, which>>>>> |
||
576 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // will dequeue but only if they were gotoEnd.>>>>> |
||
577 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( dequeue || !gotoEnd ) {>>>>> |
||
578 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { jQuery.dequeue( this, type );>>>>> |
||
579 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
580 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } );>>>>> |
||
581 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { },>>>>> |
||
582 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { finish: function( type ) {>>>>> |
||
583 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( type !== false ) {>>>>> |
||
584 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { type = type || "fx";>>>>> |
||
585 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
586 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { return this.each( function() {>>>>> |
||
587 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var index,>>>>> |
||
588 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { data = dataPriv.get( this ),>>>>> |
||
589 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { queue = data[ type + "queue" ],>>>>> |
||
590 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { hooks = data[ type + "queueHooks" ],>>>>> |
||
591 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers = jQuery.timers,>>>>> |
||
592 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { length = queue ? queue.length : 0;>>>>> |
||
593 | |||
594 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Enable finishing flag on private data>>>>> |
||
595 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { data.finish = true;>>>>> |
||
596 | |||
597 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Empty the queue first>>>>> |
||
598 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { jQuery.queue( this, type, [] );>>>>> |
||
599 | |||
600 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( hooks && hooks.stop ) {>>>>> |
||
601 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { hooks.stop.call( this, true );>>>>> |
||
602 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
603 | |||
604 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Look for any active animations, and finish them>>>>> |
||
605 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { for ( index = timers.length; index--; ) {>>>>> |
||
606 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( timers[ index ].elem === this && timers[ index ].queue === type ) {>>>>> |
||
607 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers[ index ].anim.stop( true );>>>>> |
||
608 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers.splice( index, 1 );>>>>> |
||
609 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
610 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>> |
||
611 | |||
612 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Look for any animations in the old queue and finish them>>>>> |
||
613 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { for ( index = 0; index < length; index++ ) {>>>>>> |
||
614 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { if ( queue[ index ] && queue[ index ].finish ) {>>>>>> |
||
615 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { queue[ index ].finish.call( this );>>>>>> |
||
616 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>>> |
||
617 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>>> |
||
618 | |||
619 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { // Turn off finishing flag>>>>>> |
||
620 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { delete data.finish;>>>>>> |
||
621 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { } );>>>>>> |
||
622 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { }>>>>>> |
||
623 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {} );>>>>>> |
||
624 | |||
625 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) {>>>>>> |
||
626 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var cssFn = jQuery.fn[ name ];>>>>>> |
||
627 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { jQuery.fn[ name ] = function( speed, easing, callback ) {>>>>>> |
||
628 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { return speed == null || typeof speed === "boolean" ?>>>>>> |
||
629 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { cssFn.apply( this, arguments ) :>>>>>> |
||
630 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { this.animate( genFx( name, true ), speed, easing, callback );>>>>>> |
||
631 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { };>>>>>> |
||
632 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {} );>>>>>> |
||
633 | |||
634 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {// Generate shortcuts for custom animations>>>>>> |
||
635 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {jQuery.each( {>>>>>> |
||
636 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { slideDown: genFx( "show" ),>>>>>> |
||
637 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { slideUp: genFx( "hide" ),>>>>>> |
||
638 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { slideToggle: genFx( "toggle" ),>>>>>> |
||
639 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { fadeIn: { opacity: "show" },>>>>>> |
||
640 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { fadeOut: { opacity: "hide" },>>>>>> |
||
641 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { fadeToggle: { opacity: "toggle" }>>>>>> |
||
642 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {}, function( name, props ) {>>>>>> |
||
643 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { jQuery.fn[ name ] = function( speed, easing, callback ) {>>>>>> |
||
644 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { return this.animate( props, speed, easing, callback );>>>>>> |
||
645 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { };>>>>>> |
||
646 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {} );>>>>>> |
||
647 | |||
648 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {jQuery.timers = [];>>>>>> |
||
649 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {jQuery.fx.tick = function() {>>>>>> |
||
650 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { var timer,>>>>>> |
||
651 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { i = 0,>>>>>> |
||
652 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { timers = jQuery.timers;>>>>>> |
||
653 | |||
654 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { fxNow = jQuery.now();>>>>>> |
||
655 | |||
656 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) { for ( ; i < timers.length; i++ ) {>>>>>>> |
||
657 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { timer = timers[ i ];>>>>>>> |
||
658 | |||
659 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { // Run the timer and safely remove it when done (allowing for external removal)>>>>>>> |
||
660 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { if ( !timer() && timers[ i ] === timer ) {>>>>>>> |
||
661 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { timers.splice( i--, 1 );>>>>>>> |
||
662 | < 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++ ) { }>>>>>>> |
||
664 | |||
665 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { if ( !timers.length ) {>>>>>>> |
||
666 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { jQuery.fx.stop();>>>>>>> |
||
667 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { }>>>>>>> |
||
668 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { fxNow = undefined;>>>>>>> |
||
669 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {};>>>>>>> |
||
670 | |||
671 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.timer = function( timer ) {>>>>>>> |
||
672 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { jQuery.timers.push( timer );>>>>>>> |
||
673 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { jQuery.fx.start();>>>>>>> |
||
674 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {};>>>>>>> |
||
675 | |||
676 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.interval = 13;>>>>>>> |
||
677 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.start = function() {>>>>>>> |
||
678 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { if ( inProgress ) {>>>>>>> |
||
679 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { return;>>>>>>> |
||
680 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { }>>>>>>> |
||
681 | |||
682 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { inProgress = true;>>>>>>> |
||
683 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { schedule();>>>>>>> |
||
684 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {};>>>>>>> |
||
685 | |||
686 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.stop = function() {>>>>>>> |
||
687 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { inProgress = null;>>>>>>> |
||
688 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {};>>>>>>> |
||
689 | |||
690 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {jQuery.fx.speeds = {>>>>>>> |
||
691 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { slow: 600,>>>>>>> |
||
692 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { fast: 200,>>>>>>> |
||
693 | |||
694 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { // Default speed>>>>>>> |
||
695 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) { _default: 400>>>>>>> |
||
696 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {};>>>>>>> |
||
697 | |||
698 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {return jQuery;>>>>>>> |
||
699 | < length; index++ ) {< 1 && length ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< length; index++ ) {< timers.length; i++ ) {} );>>>>>>> |