Merge pull request #69 from seriousManual/run

Add return value to `run` method.
This commit is contained in:
Frédéric Bolvin 2018-11-12 11:57:22 +00:00 committed by GitHub
commit 0dbda4ba80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ Anim.prototype.run = function(universe, onFinish) {
ani_setup()
var iid = this.interval = setInterval(ani_step, resolution)
return this
}
module.exports = Anim