Skip to content

Commit

Permalink
Fix transition test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Oct 10, 2013
1 parent 8ed6883 commit 3aaa728
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/transition/transition-test-transition.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ module.exports = {
"while transitioning": {
topic: function(t1) {
var callback = this.callback;
var t2 = t1.transition().tween("custom", function() {
return function(t) {
if (callback) {
callback(null, t2);
callback = null;
}
};
var t2 = t1.transition().each("start", function() {
if (callback) {
callback(null, t2);
callback = null;
}
});
},
"increments the lock's reference count": function(t2) {
Expand Down

0 comments on commit 3aaa728

Please sign in to comment.