Skip to content

Instantly share code, notes, and snippets.

@collin
Created October 1, 2008 18:46
Show Gist options
  • Save collin/14155 to your computer and use it in GitHub Desktop.
Save collin/14155 to your computer and use it in GitHub Desktop.
function bind_input_listeners(options) {
with(options) {
classes_input
.keybind('.', new_class)
.keybind(',', new_class)
.keybind('space', new_class);
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment