Skip to content
Permalink
Browse files

Reverted r695.

  • Loading branch information...
scottgonzalez committed Sep 19, 2008
1 parent 8d04c35 commit 7c2e7965e90896b3ccf8525aeebfe2b9242203ff
Showing with 1,044 additions and 1,044 deletions.
  1. +7 −7 ui/effects.blind.js
  2. +3 −3 ui/effects.bounce.js
  3. +8 −8 ui/effects.clip.js
  4. +35 −35 ui/effects.core.js
  5. +7 −7 ui/effects.drop.js
  6. +10 −10 ui/effects.explode.js
  7. +7 −7 ui/effects.fold.js
  8. +9 −9 ui/effects.highlight.js
  9. +6 −6 ui/effects.pulsate.js
  10. +19 −19 ui/effects.scale.js
  11. +6 −6 ui/effects.shake.js
  12. +7 −7 ui/effects.slide.js
  13. +8 −8 ui/effects.transfer.js
  14. +1 −1 ui/i18n/ui.datepicker-ar.js
  15. +1 −1 ui/i18n/ui.datepicker-ca.js
  16. +1 −1 ui/i18n/ui.datepicker-cs.js
  17. +4 −4 ui/i18n/ui.datepicker-da.js
  18. +1 −1 ui/i18n/ui.datepicker-de.js
  19. +1 −1 ui/i18n/ui.datepicker-es.js
  20. +1 −1 ui/i18n/ui.datepicker-fr.js
  21. +1 −1 ui/i18n/ui.datepicker-he.js
  22. +1 −1 ui/i18n/ui.datepicker-hu.js
  23. +1 −1 ui/i18n/ui.datepicker-hy.js
  24. +1 −1 ui/i18n/ui.datepicker-id.js
  25. +1 −1 ui/i18n/ui.datepicker-is.js
  26. +1 −1 ui/i18n/ui.datepicker-it.js
  27. +1 −1 ui/i18n/ui.datepicker-ja.js
  28. +1 −1 ui/i18n/ui.datepicker-ko.js
  29. +1 −1 ui/i18n/ui.datepicker-lt.js
  30. +1 −1 ui/i18n/ui.datepicker-lv.js
  31. +1 −1 ui/i18n/ui.datepicker-nl.js
  32. +4 −4 ui/i18n/ui.datepicker-no.js
  33. +1 −1 ui/i18n/ui.datepicker-pl.js
  34. +1 −1 ui/i18n/ui.datepicker-pt-BR.js
  35. +1 −1 ui/i18n/ui.datepicker-ro.js
  36. +1 −1 ui/i18n/ui.datepicker-ru.js
  37. +1 −1 ui/i18n/ui.datepicker-sk.js
  38. +1 −1 ui/i18n/ui.datepicker-sl.js
  39. +4 −4 ui/i18n/ui.datepicker-sv.js
  40. +1 −1 ui/i18n/ui.datepicker-th.js
  41. +1 −1 ui/i18n/ui.datepicker-tr.js
  42. +1 −1 ui/i18n/ui.datepicker-uk.js
  43. +1 −1 ui/i18n/ui.datepicker-zh-CN.js
  44. +1 −1 ui/i18n/ui.datepicker-zh-TW.js
  45. +20 −20 ui/ui.accordion.js
  46. +67 −67 ui/ui.autocomplete.js
  47. +61 −61 ui/ui.core.js
  48. +41 −41 ui/ui.datepicker.js
  49. +62 −62 ui/ui.dialog.js
  50. +104 −104 ui/ui.draggable.js
  51. +48 −48 ui/ui.droppable.js
  52. +23 −23 ui/ui.magnifier.js
  53. +187 −187 ui/ui.resizable.js
  54. +14 −14 ui/ui.selectable.js
  55. +51 −51 ui/ui.slider.js
  56. +147 −147 ui/ui.sortable.js
  57. +21 −21 ui/ui.spinner.js
  58. +26 −26 ui/ui.tabs.js
@@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
*
* http://docs.jquery.com/UI/Effects/Blind
*
* Depends:
@@ -18,32 +18,32 @@ $.effects.blind = function(o) {

// Create element
var el = $(this), props = ['position','top','left'];

// Set options
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
var direction = o.options.direction || 'vertical'; // Default direction

// Adjust
$.effects.save(el, props); el.show(); // Save & Show
var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
var ref = (direction == 'vertical') ? 'height' : 'width';
var distance = (direction == 'vertical') ? wrapper.height() : wrapper.width();
if(mode == 'show') wrapper.css(ref, 0); // Shift

// Animation
var animation = {};
animation[ref] = mode == 'show' ? distance : 0;

// Animate
wrapper.animate(animation, o.duration, o.options.easing, function() {
if(mode == 'hide') el.hide(); // Hide
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
if(o.callback) o.callback.apply(el[0], arguments); // Callback
el.dequeue();
});

});

};

})(jQuery);
@@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
*
* http://docs.jquery.com/UI/Effects/Bounce
*
* Depends:
@@ -36,7 +36,7 @@ $.effects.bounce = function(o) {
if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift
if (mode == 'hide') distance = distance / (times * 2);
if (mode != 'hide') times--;

// Animate
if (mode == 'show') { // Show Bounce
var animation = {opacity: 1};
@@ -72,7 +72,7 @@ $.effects.bounce = function(o) {
el.queue('fx', function() { el.dequeue(); });
el.dequeue();
});

};

})(jQuery);
@@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
*
* http://docs.jquery.com/UI/Effects/Clip
*
* Depends:
@@ -18,11 +18,11 @@ $.effects.clip = function(o) {

// Create element
var el = $(this), props = ['position','top','left','height','width'];

// Set options
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
var direction = o.options.direction || 'vertical'; // Default direction

// Adjust
$.effects.save(el, props); el.show(); // Save & Show
var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
@@ -33,22 +33,22 @@ $.effects.clip = function(o) {
};
var distance = (direction == 'vertical') ? animate.height() : animate.width();
if(mode == 'show') { animate.css(ref.size, 0); animate.css(ref.position, distance / 2); } // Shift

// Animation
var animation = {};
animation[ref.size] = mode == 'show' ? distance : 0;
animation[ref.position] = mode == 'show' ? 0 : distance / 2;

// Animate
animate.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
if(mode == 'hide') el.hide(); // Hide
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
if(o.callback) o.callback.apply(el[0], arguments); // Callback
el.dequeue();
}});

}});
});

};

})(jQuery);
@@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
*
* http://docs.jquery.com/UI/Effects/
*/
;(function($) {
@@ -299,41 +299,41 @@ var colors = {
yellow:[255,255,0],
transparent: [255,255,255]
};

/*
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
*
* Uses the built in easing capabilities added In jQuery 1.1
* to offer multiple easing options
*
* TERMS OF USE - jQuery Easing
*
* Open source under the BSD License.
*
*
* Open source under the BSD License.
*
* Copyright © 2008 George McGinley Smith
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of
*
* Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* Neither the name of the author nor the names of contributors may be used to endorse
*
* Neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/

@@ -449,7 +449,7 @@ jQuery.extend( jQuery.easing,
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
},
easeInOutBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
if (s == undefined) s = 1.70158;
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
},
@@ -476,33 +476,33 @@ jQuery.extend( jQuery.easing,
/*
*
* TERMS OF USE - EASING EQUATIONS
*
* Open source under the BSD License.
*
*
* Open source under the BSD License.
*
* Copyright © 2001 Robert Penner
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of
*
* Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* Neither the name of the author nor the names of contributors may be used to endorse
*
* Neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/

@@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
*
* http://docs.jquery.com/UI/Effects/Drop
*
* Depends:
@@ -18,33 +18,33 @@ $.effects.drop = function(o) {

// Create element
var el = $(this), props = ['position','top','left','opacity'];

// Set options
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
var direction = o.options.direction || 'left'; // Default Direction

// Adjust
$.effects.save(el, props); el.show(); // Save & Show
$.effects.createWrapper(el); // Create Wrapper
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) / 2 : el.outerWidth({margin:true}) / 2);
if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift

// Animation
var animation = {opacity: mode == 'show' ? 1 : 0};
animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance;

// Animate
el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
if(mode == 'hide') el.hide(); // Hide
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
if(o.callback) o.callback.apply(this, arguments); // Callback
el.dequeue();
}});

});

};

})(jQuery);
@@ -4,7 +4,7 @@
* Copyright (c) 2008 Paul Bakaus (ui.jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
*
* http://docs.jquery.com/UI/Effects/Explode
*
* Depends:
@@ -18,15 +18,15 @@ $.effects.explode = function(o) {

var rows = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3;
var cells = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3;

o.options.mode = o.options.mode == 'toggle' ? ($(this).is(':visible') ? 'hide' : 'show') : o.options.mode;
var el = $(this).show().css('visibility', 'hidden');
var offset = el.offset();

//Substract the margins - not fixing the problem yet.
offset.top -= parseInt(el.css("marginTop")) || 0;
offset.left -= parseInt(el.css("marginLeft")) || 0;

var width = el.outerWidth(true);
var height = el.outerHeight(true);

@@ -62,18 +62,18 @@ $.effects.explode = function(o) {

// Set a timeout, to call the callback approx. when the other animations have finished
setTimeout(function() {

o.options.mode == 'show' ? el.css({ visibility: 'visible' }) : el.css({ visibility: 'visible' }).hide();
if(o.callback) o.callback.apply(el[0]); // Callback
el.dequeue();

$('.effects-explode').remove();

}, o.duration || 500);


});

};

})(jQuery);

0 comments on commit 7c2e796

Please sign in to comment.
You can’t perform that action at this time.