Skip to content

Commit

Permalink
Upgrades
Browse files Browse the repository at this point in the history
Switch “animating” indicator class to “velocity-animating”. Closes #194.

Support for passing hex values into color properties. (Previously, you
could only pass in individual RGBA components.) Closes #179.

Fixes bug where slide functions wouldn’t reset elements’ height to
auto. Closes #183.

Support for getting border-color in Firefox. Closes #196.

Fixes inability to animate `y2` on SVG elements. Closes #199.

Allow passing in explicit `display: none` into an Out UI pack
transition. Closes #201.

Fixes vw/vh unit support for `translateX/Y`. Closes #181.

Fixes bug where `delay` couldn’t be used with `stagger`. Closes #202.
Thank you, @Guanche.

Fixes bug where original call’s easing type wouldn’t be re-used for a
`reverse` command.
  • Loading branch information
julianshapiro committed Jul 23, 2014
1 parent 36e9d55 commit f636620
Show file tree
Hide file tree
Showing 7 changed files with 121 additions and 96 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "velocity",
"version": "0.8.0",
"version": "0.9.0",
"homepage": "http://velocityjs.org",
"authors": [
{ "name" : "Julian Shapiro",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "velocity",
"repository": "julianshapiro/velocity",
"version": "0.8.0",
"version": "0.9.0",
"description": "Accelerated JavaScript animation.",
"keywords": [
"animation",
Expand Down
199 changes: 112 additions & 87 deletions jquery.velocity.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions jquery.velocity.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "velocity-animate",
"version": "0.8.0",
"version": "0.9.0",
"description": "Accelerated JavaScript animation.",
"keywords": [
"velocity",
Expand Down
4 changes: 2 additions & 2 deletions velocity.ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/*!
* velocity.ui.js: UI effects pack for Velocity. Load this file after jquery.velocity.js.
* @version 4.0.5
* @version 4.0.6
* @docs http://velocityjs.org/#uiPack
* @support <=IE8: Callouts will have no effect, and transitions will simply fade in/out. IE9/Android 2.3: Most effects are fully supported, the rest fade in/out. All other browsers: Full support.
* @license Copyright Julian Shapiro. MIT License: http://en.wikipedia.org/wiki/MIT_License
Expand Down Expand Up @@ -122,7 +122,7 @@
if (callIndex === properties.calls.length - 1) {
/* Append promise resolving onto the user's sequence callback. */
function injectFinalCallbacks () {
if (sequenceOptions.display === undefined && /Out$/.test(effectName)) {
if ((sequenceOptions.display === undefined || sequenceOptions.display === "none") && /Out$/.test(effectName)) {
Container.Velocity.Utilities.each(elements, function(i, element) {
Container.Velocity.CSS.setPropertyValue(element, "display", "none");
});
Expand Down
4 changes: 2 additions & 2 deletions velocity.ui.min.js

Large diffs are not rendered by default.

0 comments on commit f636620

Please sign in to comment.