aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects.js
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Adds _mark and _unmark as a mean to keep track of ongoing non-queued ↵jaubourg2011-04-111-3/+14
| | | | | | | | | | | | animations in fn.promise.
* | | Group all local functions at the top of the file and add commentslouisremi2011-04-111-30/+34
| |/ |/|
* | Merge branch '8101_lrbabe_requestAnimationFrame' of ↵jeresig2011-04-101-3/+20
|\ \ | |/ |/| | | | | | | | | https://github.com/timmywil/jquery into timmywil-8101_lrbabe_requestAnimationFrame Conflicts: src/effects.js
| * Separate raf function definition from passing it to requestAnimationFrametimmywil2011-04-101-3/+5
| |
| * Per rwaldron's request, added oRequestAnimationFrame as a possibilitytimmywil2011-04-051-1/+3
| |
| * Some adjustments and style edits on lrbabe's pull for requestAnimationFrametimmywil2011-04-041-8/+12
| | | | | | | | | | | | | | | | | | | | - Moved support.js check to effects.js. This is just an assignment to the function if it exists. Removed string concatenations. + Still need to do the checks on window, but after that, window is no longer needed. - Switched ternary to an if statmenet - assigned timerId to a number rather than the function. I did perf tests to check which is faster.
| * first tick should not occur immediatly; no tick should happen after a stop()louisremi2011-04-041-8/+7
| | | | | | | | + comments
| * reduce impact of requestAnimationFrame on incompatible browsers by ↵louisremi2011-04-041-5/+11
| | | | | | | | minimizing number of lookups
| * there was no way to 'manually' stop an animationlouisremi2011-04-041-1/+1
| |
| * timerId has to be set to true, to avoid starting multiple animation queueslouisremi2011-04-041-3/+3
| |
| * 'this' is the windowlouisremi2011-04-041-1/+1
| |
| * use requestAnimationFrame instead of setInterval for animations, when available.louisremi2011-04-041-1/+5
| |
* | Applies exception in Style Guidelines regarding objects and functions when ↵jaubourg2011-04-081-1/+1
| | | | | | | | they are the last argument of a function call.
* | Makes sure each animation tick has the same timestamp for all animations in ↵jaubourg2011-04-071-3/+14
|/ | | | the batch.
* Fixes #7912. Make sure .cur() only returns 0 as fallback value when it needs ↵louisremi2011-02-171-3/+7
| | | | | | | | to ("", auto, undefined, null). This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by .css() if it isn't a number, number-alike or a value that needs a fallback to 0. This way fx.start doesn't need to be recalculated for complex values.
* Revert "Merge branch '8099' of https://github.com/rwldrn/jquery into ↵Anton M2011-02-151-27/+2
| | | | | | | | | | | rwldrn-8099" This reverts commit bb9408516aa0fc8892f4e07a99b1a47bce06081b, reversing changes made to 3ad8dd242acec1066f43a9349f4c1a352680d37b. Conflicts: src/effects.js
* Fix some whitespace issues.Anton M2011-02-151-4/+4
|
* Add missing semicolon.Anton M2011-02-141-1/+1
|
* Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099jeresig2011-02-141-3/+28
|\
| * Bug #8099 - Updates per reviewrwldrn2011-01-311-9/+13
| |
| * Bug #8099 - Always restore to correct display value based on element's ↵rwldrn2011-01-311-3/+24
| | | | | | | | expected default display
* | Fix breaking test in Chrome.Anton M2011-02-141-2/+2
| |
* | Don't add "px" to unit-less properties when animating them. Fixes #4966.Anton M2011-02-131-2/+2
|/
* Change the way jQuery.data works so that there is no longer a chance of ↵Colin Snover2011-01-091-5/+5
| | | | collision between user data and internal data. Fixes #6968.
* Remove patch for very early versions of Opera 9 that made it impossible to ↵Colin Snover2010-12-301-1/+1
| | | | animate values smaller than -10000. Fixes #7193. Thanks to igorw for initial patch & test case.
* Clean trailing whitespace from all files.Colin Snover2010-12-301-1/+1
|
* Merge branch 'bug_7397' of https://github.com/rwldrn/jquery into rwldrn-bug_7397Colin Snover2010-12-141-2/+2
|\
| * Whitespace correctionrwldrn2010-12-091-1/+1
| |
| * Whitespace correctionrwldrn2010-12-091-3/+3
| |
| * Whitespace correctionrwldrn2010-12-091-3/+3
| |
| * Reorders condition at L65 for efficiencyrwldrn2010-12-091-2/+2
| |
| * Clean #7397; Removed unnec. var declarationrwldrn2010-11-091-3/+2
| |
| * Fixes #7397; 4 supporting unit testsrwldrn2010-11-091-5/+6
| |
* | Precising the unit part of rfxnum regexlouisremi2010-12-091-1/+1
| |
* | Backing out commit 795e880bba1f7f949df58748f7fd92e50296a8f4 - errors popping ↵jeresig2010-11-091-4/+4
| | | | | | | | up in IE 6/7/8.
* | Fixes #7397; Adds 4 supporting unit tests.rwldrn2010-11-091-4/+4
|/
* Make sure that when multiple variables are being declared that assignments ↵John Resig2010-11-091-2/+6
| | | | are each done on their own line.
* Fix quotes in comment.John Resig2010-10-281-1/+1
|
* Calling .hide().show() on a stylesheet-hidden element wasn't bringing it ↵jeresig2010-10-271-1/+1
| | | | back. Fixes #7331.
* For .show() with no arguments, only set display of elements in the second ↵Karl Swedberg2010-10-261-5/+16
| | | | loop if they don't have style.display already set or if style.display isn't none. Fixes #7315.
* .cur() doesn't take any boolean parameter since 1.4.3lrbabe2010-10-251-2/+2
|
* fadeToggle(). as suggested by Karl Swedberg in his jQcon talk. patched live! omgPaul Irish2010-10-171-1/+2
|
* Merge branch 'animateHooks' of http://github.com/lrbabe/jquery into ↵John Resig2010-10-111-2/+2
|\ | | | | | | lrbabe-animateHooks
| * Make $.fn.animate compatible with jQuery.cssHookslrbabe2010-10-111-2/+2
| |
* | Fix olddisplay was inappropriately set when calling hide on an already ↵Colin Snover2010-10-111-3/+4
|/ | | | hidden element. Fixes #7141.
* Fixed code convention issues. Reduced size of overflow reset code. Fixed ↵Colin Snover2010-10-081-24/+26
| | | | broken show() test cases.
* Update $.fn.animate to only keep overflow set to hidden after an animation ↵Colin Snover2010-10-051-2/+2
| | | | in IE6 when it is needed (width/height change) and update unit tests to reflect when overflow does not get reset.
* IE6 will shrink-wrap elements with layout instead of allowing content to ↵Colin Snover2010-10-051-13/+20
| | | | flow outside of the border-box. Add a test for this and do not remove the overflow property after an animation in IE6.
* Tiny cleanup to remove some superfluous code that was left in from before I ↵Colin Snover2010-10-051-4/+3
| | | | decided not to reset the display of inline elements after animation finishes (since this just causes it to jump back once complete).
* Update $.fn.animate to restore overflow-x and overflow-y separately. Fixes ↵Colin Snover2010-10-051-2/+7
| | | | #7111.