Skip to content

Instantly share code, notes, and snippets.

@geta6
Created November 27, 2013 16:35
Show Gist options
  • Save geta6/7678793 to your computer and use it in GitHub Desktop.
Save geta6/7678793 to your computer and use it in GitHub Desktop.
a = null
($ document).on 'keyup', ->
a = setTimeout ->
clearTimeout a
ws.send()
, 500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment