diff --git a/anim.js b/anim.js index e4ebff3..969424e 100644 --- a/anim.js +++ b/anim.js @@ -65,6 +65,8 @@ Anim.prototype.run = function(universe, onFinish) { ani_setup() var iid = this.interval = setInterval(ani_step, resolution) + + return this } module.exports = Anim