Permalink
Browse files

Make window.clearTimeout part of removeTimer

Safe, because it isn’t used anywhere else
  • Loading branch information...
nvh committed Aug 3, 2016
1 parent c29cbc1 commit 2cb1e4a38e20afd0fc800cf7d6edd5e145f0622c
Showing with 1 addition and 0 deletions.
  1. +1 −0 framer/Context.coffee
@@ -143,6 +143,7 @@ class exports.Context extends BaseClass
@_timers.push(timer)
removeTimer: (timer) ->
window.clearTimeout(timer)
@_timers = _.without(@_timers, timer)
resetTimers: ->

0 comments on commit 2cb1e4a

Please sign in to comment.