 currentTarget = null
-keySequence = ""
+keySequence = ''
 keySequences = []
 
 specialKeys = [

  $(selector).focus()
  event.preventDefault()

isDiscussion = (target) -> $(target).closest('tr').hasClass("discussion")

keypressToCharacter = (event) ->
  return if event.which in specialKeys


resetTarget = -> currentTarget = null

$(document).bind 'keydown', trackKeySequence

bindKeySequence /gd$/, -> visitPath('/discussions')
bindKeySequence /gf$/, -> visitPath('/discussions/following')
