timers: cleanup interval handling
authorJeremiah Senkpiel <fishrock123@rocketmail.com>
Thu, 26 Mar 2015 15:52:36 +0000 (11:52 -0400)
committerJeremiah Senkpiel <fishrock123@rocketmail.com>
Thu, 26 Mar 2015 18:17:56 +0000 (14:17 -0400)
commit776b73b24306bac0ce299df4f90b7645d5efca31
tree7ce7c222bca3cc7b5bcfff299d150c927e4d621d
parentcaf0b36de33ad4991e3f21ed088a84c68cb0662d
timers: cleanup interval handling

Uses `null` as the false-y value for `_repeat` as like other properties.
Removes un-reachable statement in setInterval’s `wrapper()`.

PR-URL: https://github.com/iojs/io.js/pull/1272
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
lib/timers.js