From fb36a275ac389184012a8ef37ceda5009c08d800 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Thu, 26 May 2011 16:56:03 +0200 Subject: [PATCH] Edits to KeyEvent documentation --- src/ui/KeyEvent.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/KeyEvent.js b/src/ui/KeyEvent.js index e00c4d88..e01cabc7 100644 --- a/src/ui/KeyEvent.js +++ b/src/ui/KeyEvent.js @@ -39,22 +39,22 @@ var KeyEvent = this.KeyEvent = Event.extend(new function() { /** * The type of key event. * - * @return {string} the type of key event: 'keydown' or 'keyup' * @name KeyEvent#type + * @type String('keydown', 'keyup') */ /** * The string character of the key that caused this key event. * * @name KeyEvent#character - * @return {string} the key character. + * @type string */ /** - * Specifies the virtual key code of the key that caused this key event. + * The key that caused this key event. * * @name KeyEvent#key - * @return the virtual key code. + * @type string */ /**