Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #7 from twitter-fabric/patch/fix-style-setting
Browse files Browse the repository at this point in the history
Fixes setting styles in VelocityTransitionGroup
  • Loading branch information
fionawhim committed Sep 23, 2015
2 parents e2b3c18 + 995d65c commit 3e616bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/velocity-transition-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ var VelocityTransitionGroup = React.createClass({
// cases that you need to support your static styles being visible on the element before
// the animation begins.
if (style != null) {
_.each(style, function (key, value) {
_.each(style, function (value, key) {
Velocity.hook(nodes, key, value);
});
}
Expand Down Expand Up @@ -302,7 +302,7 @@ var VelocityTransitionGroup = React.createClass({
var opts = parsedAnimation.opts;

if (style != null) {
_.each(style, function (key, value) {
_.each(style, function (value, key) {
Velocity.hook(node, key, value);
});
}
Expand Down

0 comments on commit 3e616bc

Please sign in to comment.