From 750c83a5f34dd59643254f2887cdc2df99accfb3 Mon Sep 17 00:00:00 2001 From: Wulf Date: Sun, 4 Dec 2016 19:55:28 -0500 Subject: [PATCH] Updated basic usage example in header comment changed `translateEvent` to `translate_event` --- keycode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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