Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / src / core / Element.keys.js
index 8394dbc..b29cb61 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Ext JS Library 3.0.3
+ * Ext JS Library 3.1.0
  * Copyright(c) 2006-2009 Ext JS, LLC
  * licensing@extjs.com
  * http://www.extjs.com/license
@@ -11,9 +11,9 @@ Ext.Element.addMethods({
     /**\r
      * Convenience method for constructing a KeyMap\r
      * @param {Number/Array/Object/String} key Either a string with the keys to listen for, the numeric key code, array of key codes or an object with the following options:\r
-     *                                  {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}\r
+     * <code>{key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}</code>\r
      * @param {Function} fn The function to call\r
-     * @param {Object} scope (optional) The scope of the function\r
+     * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the specified function is executed. Defaults to this Element.\r
      * @return {Ext.KeyMap} The KeyMap created\r
      */\r
     addKeyListener : function(key, fn, scope){\r