Skip to content

Commit

Permalink
Merge pull request #15 from danro/stop-patch
Browse files Browse the repository at this point in the history
Remove callback on tween.stop unless jump is set
  • Loading branch information
ded committed Oct 17, 2011
2 parents b6178bf + b004245 commit 3e0cfa2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions morpheus.js
Expand Up @@ -163,6 +163,7 @@
stop: function (jump) {
stop = 1
end = jump // jump to end of animation?
if (!jump) done = null // remove callback if not jumping to end
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion morpheus.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/morpheus.js
Expand Up @@ -158,6 +158,7 @@
stop: function (jump) {
stop = 1
end = jump // jump to end of animation?
if (!jump) done = null // remove callback if not jumping to end
}
}
}
Expand Down

0 comments on commit 3e0cfa2

Please sign in to comment.