X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/src/core/Element.keys.js diff --git a/src/core/Element.keys.js b/src/core/Element.keys.js index 8394dbcf..b29cb61d 100644 --- a/src/core/Element.keys.js +++ b/src/core/Element.keys.js @@ -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({ /** * Convenience method for constructing a KeyMap * @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: - * {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)} + * {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)} * @param {Function} fn The function to call - * @param {Object} scope (optional) The scope of the function + * @param {Object} scope (optional) The scope (this reference) in which the specified function is executed. Defaults to this Element. * @return {Ext.KeyMap} The KeyMap created */ addKeyListener : function(key, fn, scope){