Skip to content

Commit

Permalink
Make window.clearTimeout part of removeTimer
Browse files Browse the repository at this point in the history
Safe, because it isn’t used anywhere else
  • Loading branch information
nvh committed Aug 3, 2016
1 parent c29cbc1 commit 2cb1e4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framer/Context.coffee
Expand Up @@ -143,6 +143,7 @@ class exports.Context extends BaseClass
@_timers.push(timer)

removeTimer: (timer) ->
window.clearTimeout(timer)
@_timers = _.without(@_timers, timer)

resetTimers: ->
Expand Down

0 comments on commit 2cb1e4a

Please sign in to comment.