diff --git a/keycode.js b/keycode.js index 998f059..56c7d75 100644 --- a/keycode.js +++ b/keycode.js @@ -20,7 +20,7 @@ * * Basic usage: * document.onkeydown = function(e) { - * do_something_with(KeyCode.translateEvent(e) + * do_something_with(KeyCode.translate_event(e) * }; * * The naming conventions for functions use 'code' to represent an integer