Created
December 4, 2014 21:10
-
-
Save jgrevich/77391807dc8bba89fdda to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place all the behaviors and hooks related to the matching controller here. | |
# All this logic will automatically be available in application.js. | |
# You can use CoffeeScript in this file: http://coffeescript.org/ | |
$(document).on 'keypress', (event) -> | |
alert('You hit event: ' + event.which) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment