Commit Graph

32 Commits

Author SHA1 Message Date
Mike Sherov
b6bec797d6 Effects: Rewrite
1. Introduces a set of helper methods to easily create and define new effects.
2. Uses clip animations and placeholders instead of wrappers for clip effects.
3. Ensures all animations are detectable as animated

Fixes #10599
Fixes #9477
Fixes #9257
Fixes #9066
Fixes #8867
Fixes #8671
Fixes #8505
Fixes #7885
Fixes #7041

Closes gh-1017
2014-12-10 16:58:38 -05:00
Rafael Xavier de Souza
1f4f002cf7 Test: Update effects_core test, since puff-effect and size-effect now have its own files 2013-06-22 11:37:37 -03:00
Scott González
6f29577436 Effects: Handle the .hide/show/toggle( options ) signatures from core properly. Fixes #9126 - .show()/.hide() do not support all of core's options. 2013-02-28 13:34:49 -05:00
Scott González
948563b8b5 Effects: Delegate to core show/hide when the element is already in the correct final state. This forces the element to go through the olddisplay tracking and forces styles on elements even if they're hidden via an ancestor. Fixes #9120 - Effects: .hide() inconsistent with core with a hidden parent. 2013-02-26 10:36:03 -05:00
David Petersen
2ca4d17982 Effects Core: make removeClass work correctly with changes jQuery 1.9.0. Fixed #9015 - Inclusion of jQuery UI breaks removeClass 2013-01-29 07:47:54 -06:00
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Corey Frang
8b76684a92 Effects: Allow 'null' for options - Fixes #8670 - null reference when using effects - Closes gh-783 2012-10-21 16:46:57 -05:00
Scott González
5ae668fdb6 Tests: Enable QUnit.config.requireExpects. 2012-06-27 11:32:48 -04:00
Scott González
f612a41b18 Effects tests: Convert step callback to a no-op after first call in animateClass test. 2012-06-25 13:05:01 -04:00
Scott González
8e541f1bf6 Tests: Remove the need to include the 'ui.' prefix in testJshint() now that effects use 'ui.'. 2012-06-15 13:42:00 -04:00
Scott González
e79c79df4e Effects tests: Fixed JSHint references. 2012-06-15 13:37:05 -04:00
Scott González
fc3fc6ec2e Effects tests: Added TODO for disabled test. 2012-04-30 08:42:01 -04:00
Corey Frang
aacdccc394 Effects Tests: Disabling focus based test - need some help here @scottgonzalez 2012-04-30 01:05:30 -05:00
Corey Frang
fe55b6cddb Effects: Updating unit tests to use some more stable logic hopefully 2012-04-30 00:19:52 -05:00
Scott González
27072de094 Tests: Run JSHint. 2012-04-29 20:22:52 -04:00
Scott González
aa187f57d1 Tests: Lint 2012-04-19 09:39:21 -04:00
kborchers
4f9209feb0 Tests: Change the input in the effects test to a text input. This fixes failing tests in IE8 that could not focus the input. 2011-11-02 12:22:58 -05:00
ddstreet
e3156ea286 Effects Core: Do not overwrite css or class changes that aren't animated during class animation. Fixed #7106 - animateClass: css and class changes during animation are lost 2011-10-25 17:40:37 -05:00
Scott González
39b452e1be Effects tests: Ignore leading/trailing whitespace when comparing style properties. 2011-09-28 10:00:25 -04:00
Corey Frang
8108ec82db Effects: Adding a check to retain focused elements after wrapping and unwrapping in animations - Fixes #7595 - Wrapper-creating jquery-ui animations will discard any focus state during the animation - Thanks @rubyruy 2011-08-02 16:54:24 -05:00
Corey Frang
5c34cea06f Unit Tests: Fixing a typo in the new test for hide/show on hidden/shown 2011-06-23 07:24:48 -05:00
Corey Frang
d18cd7ed0f Effects.core: Check Visibility vs 'hide' and 'show' modes, finish immediately if neccessary - Fixes #6715 - Hide and Show try to affect hidden and showing elements 2011-06-23 07:22:34 -05:00
Corey Frang
a89ff4098a Unit Tests: Adding a unit test to make sure .stop( true, true ) clears the inline styles when using animateClass - Fixed #3928 - Class-Animation: Please add a clearInlineStyle-Option 2011-06-23 05:29:09 -05:00
tomykaira
2c8151848d effects.core: Convert elements height/width to px and restore after animation in all effects. Fixed #5245 - Relative width elements break when wrapped for effects 2011-06-09 20:38:09 -05:00
gnarf
4fc5ea141d Unit Tests & effects.scale: Fixing bugs in effects unit tests - Particularly IE, found a bug in scale.js in the meantime. Fixes #7395 - Size based effects are breaking unit tests in IE - also leaking a global var 2011-05-18 18:13:37 -05:00
gnarf
5fb2468f9f Unit Tests: Cleaning up some code in effects unit tests, removing magic numbers used for animation durations 2011-05-16 21:41:50 -04:00
gnarf
c08cf8ec6c Unit Tests: adding unit test for #7356 2011-05-12 21:09:37 -04:00
gnarf
e4204b129d Unit Tests: effects: adding some animateClass tests 2011-05-12 10:22:49 -05:00
gnarf
4dcfeee8d5 Added some better queue order testing 2011-05-04 01:54:47 -05:00
gnarf
ec5aeb1b15 Unit Tests: Adding some basic unit tests for effects.* modules 2011-05-01 06:23:19 -05:00
gnarf
d6379d11e3 unit tests: updating unit test boilerplate for effects 2011-03-29 15:57:42 -05:00
gnarf
0c009730ce unit tests: adding an empty effects unit test page 2011-03-29 15:32:48 -05:00