Index: trunk/phase3/resources/Resources.php |
— | — | @@ -449,6 +449,11 @@ |
450 | 450 | 'dependencies' => 'jquery.effects.core', |
451 | 451 | 'group' => 'jquery.ui', |
452 | 452 | ), |
| 453 | + 'jquery.effects.fade' => array( |
| 454 | + 'scripts' => 'resources/jquery.effects/jquery.effects.fade.js', |
| 455 | + 'dependencies' => 'jquery.effects.core', |
| 456 | + 'group' => 'jquery.ui', |
| 457 | + ), |
453 | 458 | 'jquery.effects.fold' => array( |
454 | 459 | 'scripts' => 'resources/jquery.effects/jquery.effects.fold.js', |
455 | 460 | 'dependencies' => 'jquery.effects.core', |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.blind.js |
— | — | @@ -1,23 +1,23 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Blind 1.8.2 |
| 3 | + * jQuery UI Effects Blind 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Blind |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.blind = function(o) { |
17 | 17 | |
18 | 18 | return this.queue(function() { |
19 | 19 | |
20 | 20 | // Create element |
21 | | - var el = $(this), props = ['position','top','left']; |
| 21 | + var el = $(this), props = ['position','top','bottom','left','right']; |
22 | 22 | |
23 | 23 | // Set options |
24 | 24 | var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.core.js |
— | — | @@ -1,13 +1,13 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects 1.8.2 |
| 3 | + * jQuery UI Effects 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/ |
10 | 10 | */ |
11 | | -;jQuery.effects || (function($) { |
| 11 | +;jQuery.effects || (function($, undefined) { |
12 | 12 | |
13 | 13 | $.effects = {}; |
14 | 14 | |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | |
21 | 21 | // override the animation for color styles |
22 | 22 | $.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', |
23 | | - 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], |
| 23 | + 'borderRightColor', 'borderTopColor', 'borderColor', 'color', 'outlineColor'], |
24 | 24 | function(i, attr) { |
25 | 25 | $.fx.step[attr] = function(fx) { |
26 | 26 | if (!fx.colorInit) { |
— | — | @@ -52,7 +52,7 @@ |
53 | 53 | return [parseInt(result[1],10), parseInt(result[2],10), parseInt(result[3],10)]; |
54 | 54 | |
55 | 55 | // Look for rgb(num%,num%,num%) |
56 | | - if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*\)/.exec(color)) |
| 56 | + if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color)) |
57 | 57 | return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55]; |
58 | 58 | |
59 | 59 | // Look for #a0b1c2 |
— | — | @@ -231,13 +231,12 @@ |
232 | 232 | easing = null; |
233 | 233 | } |
234 | 234 | |
235 | | - return this.each(function() { |
236 | | - |
| 235 | + return this.queue(function() { |
237 | 236 | var that = $(this), |
238 | 237 | originalStyleAttr = that.attr('style') || ' ', |
239 | 238 | originalStyle = filterStyles(getElementStyles.call(this)), |
240 | 239 | newStyle, |
241 | | - className = that.attr('className'); |
| 240 | + className = that.attr('class'); |
242 | 241 | |
243 | 242 | $.each(classAnimationActions, function(i, action) { |
244 | 243 | if (value[action]) { |
— | — | @@ -245,20 +244,26 @@ |
246 | 245 | } |
247 | 246 | }); |
248 | 247 | newStyle = filterStyles(getElementStyles.call(this)); |
249 | | - that.attr('className', className); |
| 248 | + that.attr('class', className); |
250 | 249 | |
251 | | - that.animate(styleDifference(originalStyle, newStyle), duration, easing, function() { |
252 | | - $.each(classAnimationActions, function(i, action) { |
253 | | - if (value[action]) { that[action + 'Class'](value[action]); } |
254 | | - }); |
255 | | - // work around bug in IE by clearing the cssText before setting it |
256 | | - if (typeof that.attr('style') == 'object') { |
257 | | - that.attr('style').cssText = ''; |
258 | | - that.attr('style').cssText = originalStyleAttr; |
259 | | - } else { |
260 | | - that.attr('style', originalStyleAttr); |
| 250 | + that.animate(styleDifference(originalStyle, newStyle), { |
| 251 | + queue: false, |
| 252 | + duration: duration, |
| 253 | + easing: easing, |
| 254 | + complete: function() { |
| 255 | + $.each(classAnimationActions, function(i, action) { |
| 256 | + if (value[action]) { that[action + 'Class'](value[action]); } |
| 257 | + }); |
| 258 | + // work around bug in IE by clearing the cssText before setting it |
| 259 | + if (typeof that.attr('style') == 'object') { |
| 260 | + that.attr('style').cssText = ''; |
| 261 | + that.attr('style').cssText = originalStyleAttr; |
| 262 | + } else { |
| 263 | + that.attr('style', originalStyleAttr); |
| 264 | + } |
| 265 | + if (callback) { callback.apply(this, arguments); } |
| 266 | + $.dequeue( this ); |
261 | 267 | } |
262 | | - if (callback) { callback.apply(this, arguments); } |
263 | 268 | }); |
264 | 269 | }); |
265 | 270 | }; |
— | — | @@ -301,7 +306,7 @@ |
302 | 307 | /******************************************************************************/ |
303 | 308 | |
304 | 309 | $.extend($.effects, { |
305 | | - version: "1.8.2", |
| 310 | + version: "1.8.16", |
306 | 311 | |
307 | 312 | // Saves a set of properties in a data storage |
308 | 313 | save: function(element, set) { |
— | — | @@ -362,9 +367,16 @@ |
363 | 368 | border: 'none', |
364 | 369 | margin: 0, |
365 | 370 | padding: 0 |
366 | | - }); |
| 371 | + }), |
| 372 | + active = document.activeElement; |
367 | 373 | |
368 | 374 | element.wrap(wrapper); |
| 375 | + |
| 376 | + // Fixes #7595 - Elements lose focus when wrapped. |
| 377 | + if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) { |
| 378 | + $( active ).focus(); |
| 379 | + } |
| 380 | + |
369 | 381 | wrapper = element.parent(); //Hotfix for jQuery 1.4 since some change in wrap() seems to actually loose the reference to the wrapped element |
370 | 382 | |
371 | 383 | // transfer positioning properties to the wrapper |
— | — | @@ -382,15 +394,25 @@ |
383 | 395 | props[pos] = 'auto'; |
384 | 396 | } |
385 | 397 | }); |
386 | | - element.css({position: 'relative', top: 0, left: 0 }); |
| 398 | + element.css({position: 'relative', top: 0, left: 0, right: 'auto', bottom: 'auto' }); |
387 | 399 | } |
388 | 400 | |
389 | 401 | return wrapper.css(props).show(); |
390 | 402 | }, |
391 | 403 | |
392 | 404 | removeWrapper: function(element) { |
393 | | - if (element.parent().is('.ui-effects-wrapper')) |
394 | | - return element.parent().replaceWith(element); |
| 405 | + var parent, |
| 406 | + active = document.activeElement; |
| 407 | + |
| 408 | + if (element.parent().is('.ui-effects-wrapper')) { |
| 409 | + parent = element.parent().replaceWith(element); |
| 410 | + // Fixes #7595 - Elements lose focus when wrapped. |
| 411 | + if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) { |
| 412 | + $( active ).focus(); |
| 413 | + } |
| 414 | + return parent; |
| 415 | + } |
| 416 | + |
395 | 417 | return element; |
396 | 418 | }, |
397 | 419 | |
— | — | @@ -418,44 +440,72 @@ |
419 | 441 | speed = null; |
420 | 442 | options = {}; |
421 | 443 | } |
| 444 | + if (typeof options == 'number' || $.fx.speeds[options]) { |
| 445 | + callback = speed; |
| 446 | + speed = options; |
| 447 | + options = {}; |
| 448 | + } |
422 | 449 | if ($.isFunction(speed)) { |
423 | 450 | callback = speed; |
424 | 451 | speed = null; |
425 | 452 | } |
426 | | - if (typeof options == 'number' || $.fx.speeds[options]) { |
427 | | - callback = speed; |
428 | | - speed = options; |
429 | | - options = {}; |
430 | | - } |
431 | 453 | |
432 | 454 | options = options || {}; |
433 | 455 | |
434 | 456 | speed = speed || options.duration; |
435 | 457 | speed = $.fx.off ? 0 : typeof speed == 'number' |
436 | | - ? speed : $.fx.speeds[speed] || $.fx.speeds._default; |
| 458 | + ? speed : speed in $.fx.speeds ? $.fx.speeds[speed] : $.fx.speeds._default; |
437 | 459 | |
438 | 460 | callback = callback || options.complete; |
439 | 461 | |
440 | 462 | return [effect, options, speed, callback]; |
441 | 463 | } |
442 | 464 | |
| 465 | +function standardSpeed( speed ) { |
| 466 | + // valid standard speeds |
| 467 | + if ( !speed || typeof speed === "number" || $.fx.speeds[ speed ] ) { |
| 468 | + return true; |
| 469 | + } |
| 470 | + |
| 471 | + // invalid strings - treat as "normal" speed |
| 472 | + if ( typeof speed === "string" && !$.effects[ speed ] ) { |
| 473 | + return true; |
| 474 | + } |
| 475 | + |
| 476 | + return false; |
| 477 | +} |
| 478 | + |
443 | 479 | $.fn.extend({ |
444 | 480 | effect: function(effect, options, speed, callback) { |
445 | 481 | var args = _normalizeArguments.apply(this, arguments), |
446 | | - // TODO: make effects takes actual parameters instead of a hash |
| 482 | + // TODO: make effects take actual parameters instead of a hash |
447 | 483 | args2 = { |
448 | 484 | options: args[1], |
449 | 485 | duration: args[2], |
450 | 486 | callback: args[3] |
451 | 487 | }, |
| 488 | + mode = args2.options.mode, |
452 | 489 | effectMethod = $.effects[effect]; |
453 | 490 | |
454 | | - return effectMethod && !$.fx.off ? effectMethod.call(this, args2) : this; |
| 491 | + if ( $.fx.off || !effectMethod ) { |
| 492 | + // delegate to the original method (e.g., .show()) if possible |
| 493 | + if ( mode ) { |
| 494 | + return this[ mode ]( args2.duration, args2.callback ); |
| 495 | + } else { |
| 496 | + return this.each(function() { |
| 497 | + if ( args2.callback ) { |
| 498 | + args2.callback.call( this ); |
| 499 | + } |
| 500 | + }); |
| 501 | + } |
| 502 | + } |
| 503 | + |
| 504 | + return effectMethod.call(this, args2); |
455 | 505 | }, |
456 | 506 | |
457 | 507 | _show: $.fn.show, |
458 | 508 | show: function(speed) { |
459 | | - if (!speed || typeof speed == 'number' || $.fx.speeds[speed]) { |
| 509 | + if ( standardSpeed( speed ) ) { |
460 | 510 | return this._show.apply(this, arguments); |
461 | 511 | } else { |
462 | 512 | var args = _normalizeArguments.apply(this, arguments); |
— | — | @@ -466,7 +516,7 @@ |
467 | 517 | |
468 | 518 | _hide: $.fn.hide, |
469 | 519 | hide: function(speed) { |
470 | | - if (!speed || typeof speed == 'number' || $.fx.speeds[speed]) { |
| 520 | + if ( standardSpeed( speed ) ) { |
471 | 521 | return this._hide.apply(this, arguments); |
472 | 522 | } else { |
473 | 523 | var args = _normalizeArguments.apply(this, arguments); |
— | — | @@ -475,11 +525,10 @@ |
476 | 526 | } |
477 | 527 | }, |
478 | 528 | |
479 | | - // jQuery core overloads toggle and create _toggle |
| 529 | + // jQuery core overloads toggle and creates _toggle |
480 | 530 | __toggle: $.fn.toggle, |
481 | 531 | toggle: function(speed) { |
482 | | - if (!speed || typeof speed == 'number' || $.fx.speeds[speed] || |
483 | | - typeof speed == 'boolean' || $.isFunction(speed)) { |
| 532 | + if ( standardSpeed( speed ) || typeof speed === "boolean" || $.isFunction( speed ) ) { |
484 | 533 | return this.__toggle.apply(this, arguments); |
485 | 534 | } else { |
486 | 535 | var args = _normalizeArguments.apply(this, arguments); |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.bounce.js |
— | — | @@ -1,23 +1,23 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Bounce 1.8.2 |
| 3 | + * jQuery UI Effects Bounce 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Bounce |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.bounce = function(o) { |
17 | 17 | |
18 | 18 | return this.queue(function() { |
19 | 19 | |
20 | 20 | // Create element |
21 | | - var el = $(this), props = ['position','top','left']; |
| 21 | + var el = $(this), props = ['position','top','bottom','left','right']; |
22 | 22 | |
23 | 23 | // Set options |
24 | 24 | var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.shake.js |
— | — | @@ -1,23 +1,23 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Shake 1.8.2 |
| 3 | + * jQuery UI Effects Shake 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Shake |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.shake = function(o) { |
17 | 17 | |
18 | 18 | return this.queue(function() { |
19 | 19 | |
20 | 20 | // Create element |
21 | | - var el = $(this), props = ['position','top','left']; |
| 21 | + var el = $(this), props = ['position','top','bottom','left','right']; |
22 | 22 | |
23 | 23 | // Set options |
24 | 24 | var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.pulsate.js |
— | — | @@ -1,16 +1,16 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Pulsate 1.8.2 |
| 3 | + * jQuery UI Effects Pulsate 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Pulsate |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.pulsate = function(o) { |
17 | 17 | return this.queue(function() { |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.fade.js |
— | — | @@ -0,0 +1,32 @@ |
| 2 | +/* |
| 3 | + * jQuery UI Effects Fade 1.8.16 |
| 4 | + * |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
| 8 | + * |
| 9 | + * http://docs.jquery.com/UI/Effects/Fade |
| 10 | + * |
| 11 | + * Depends: |
| 12 | + * jquery.effects.core.js |
| 13 | + */ |
| 14 | +(function( $, undefined ) { |
| 15 | + |
| 16 | +$.effects.fade = function(o) { |
| 17 | + return this.queue(function() { |
| 18 | + var elem = $(this), |
| 19 | + mode = $.effects.setMode(elem, o.options.mode || 'hide'); |
| 20 | + |
| 21 | + elem.animate({ opacity: mode }, { |
| 22 | + queue: false, |
| 23 | + duration: o.duration, |
| 24 | + easing: o.options.easing, |
| 25 | + complete: function() { |
| 26 | + (o.callback && o.callback.apply(this, arguments)); |
| 27 | + elem.dequeue(); |
| 28 | + } |
| 29 | + }); |
| 30 | + }); |
| 31 | +}; |
| 32 | + |
| 33 | +})(jQuery); |
Property changes on: trunk/phase3/resources/jquery.effects/jquery.effects.fade.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 34 | + native |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.explode.js |
— | — | @@ -1,16 +1,16 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Explode 1.8.2 |
| 3 | + * jQuery UI Effects Explode 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Explode |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.explode = function(o) { |
17 | 17 | |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.slide.js |
— | — | @@ -1,23 +1,23 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Slide 1.8.2 |
| 3 | + * jQuery UI Effects Slide 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Slide |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.slide = function(o) { |
17 | 17 | |
18 | 18 | return this.queue(function() { |
19 | 19 | |
20 | 20 | // Create element |
21 | | - var el = $(this), props = ['position','top','left']; |
| 21 | + var el = $(this), props = ['position','top','bottom','left','right']; |
22 | 22 | |
23 | 23 | // Set options |
24 | 24 | var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode |
— | — | @@ -29,7 +29,7 @@ |
30 | 30 | var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; |
31 | 31 | var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; |
32 | 32 | var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) : el.outerWidth({margin:true})); |
33 | | - if (mode == 'show') el.css(ref, motion == 'pos' ? -distance : distance); // Shift |
| 33 | + if (mode == 'show') el.css(ref, motion == 'pos' ? (isNaN(distance) ? "-" + distance : -distance) : distance); // Shift |
34 | 34 | |
35 | 35 | // Animation |
36 | 36 | var animation = {}; |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.drop.js |
— | — | @@ -1,23 +1,23 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Drop 1.8.2 |
| 3 | + * jQuery UI Effects Drop 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Drop |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.drop = function(o) { |
17 | 17 | |
18 | 18 | return this.queue(function() { |
19 | 19 | |
20 | 20 | // Create element |
21 | | - var el = $(this), props = ['position','top','left','opacity']; |
| 21 | + var el = $(this), props = ['position','top','bottom','left','right','opacity']; |
22 | 22 | |
23 | 23 | // Set options |
24 | 24 | var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.fold.js |
— | — | @@ -1,23 +1,23 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Fold 1.8.2 |
| 3 | + * jQuery UI Effects Fold 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Fold |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.fold = function(o) { |
17 | 17 | |
18 | 18 | return this.queue(function() { |
19 | 19 | |
20 | 20 | // Create element |
21 | | - var el = $(this), props = ['position','top','left']; |
| 21 | + var el = $(this), props = ['position','top','bottom','left','right']; |
22 | 22 | |
23 | 23 | // Set options |
24 | 24 | var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.transfer.js |
— | — | @@ -1,16 +1,16 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Transfer 1.8.2 |
| 3 | + * jQuery UI Effects Transfer 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Transfer |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.transfer = function(o) { |
17 | 17 | return this.queue(function() { |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.clip.js |
— | — | @@ -1,23 +1,23 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Clip 1.8.2 |
| 3 | + * jQuery UI Effects Clip 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Clip |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.clip = function(o) { |
17 | 17 | |
18 | 18 | return this.queue(function() { |
19 | 19 | |
20 | 20 | // Create element |
21 | | - var el = $(this), props = ['position','top','left','height','width']; |
| 21 | + var el = $(this), props = ['position','top','bottom','left','right','height','width']; |
22 | 22 | |
23 | 23 | // Set options |
24 | 24 | var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.highlight.js |
— | — | @@ -1,16 +1,16 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Highlight 1.8.2 |
| 3 | + * jQuery UI Effects Highlight 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Highlight |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.highlight = function(o) { |
17 | 17 | return this.queue(function() { |
Index: trunk/phase3/resources/jquery.effects/jquery.effects.scale.js |
— | — | @@ -1,16 +1,16 @@ |
2 | 2 | /* |
3 | | - * jQuery UI Effects Scale 1.8.2 |
| 3 | + * jQuery UI Effects Scale 1.8.16 |
4 | 4 | * |
5 | | - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) |
6 | | - * Dual licensed under the MIT (MIT-LICENSE.txt) |
7 | | - * and GPL (GPL-LICENSE.txt) licenses. |
| 5 | + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 6 | + * Dual licensed under the MIT or GPL Version 2 licenses. |
| 7 | + * http://jquery.org/license |
8 | 8 | * |
9 | 9 | * http://docs.jquery.com/UI/Effects/Scale |
10 | 10 | * |
11 | 11 | * Depends: |
12 | 12 | * jquery.effects.core.js |
13 | 13 | */ |
14 | | -(function($) { |
| 14 | +(function( $, undefined ) { |
15 | 15 | |
16 | 16 | $.effects.puff = function(o) { |
17 | 17 | return this.queue(function() { |
— | — | @@ -84,8 +84,8 @@ |
85 | 85 | return this.queue(function() { |
86 | 86 | |
87 | 87 | // Create element |
88 | | - var el = $(this), props = ['position','top','left','width','height','overflow','opacity']; |
89 | | - var props1 = ['position','top','left','overflow','opacity']; // Always restore |
| 88 | + var el = $(this), props = ['position','top','bottom','left','right','width','height','overflow','opacity']; |
| 89 | + var props1 = ['position','top','bottom','left','right','overflow','opacity']; // Always restore |
90 | 90 | var props2 = ['width','height','overflow']; // Copy for children |
91 | 91 | var cProps = ['fontSize']; |
92 | 92 | var vProps = ['borderTopWidth', 'borderBottomWidth', 'paddingTop', 'paddingBottom']; |