X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/src/core/src/dom/Element.keys.js diff --git a/src/core/src/dom/Element.keys.js b/src/core/src/dom/Element.keys.js index 0745e228..981d57ea 100644 --- a/src/core/src/dom/Element.keys.js +++ b/src/core/src/dom/Element.keys.js @@ -13,12 +13,12 @@ If you are unsure which license is appropriate for your use, please contact the */ /** - * @class Ext.core.Element + * @class Ext.Element */ -Ext.core.Element.addMethods({ +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: + * @param {String/Number/Number[]/Object} 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)} * @param {Function} fn The function to call * @param {Object} scope (optional) The scope (this reference) in which the specified function is executed. Defaults to this Element. @@ -55,7 +55,7 @@ Ext.core.Element.addMethods({ } }); -//Import the newly-added Ext.core.Element functions into CompositeElementLite. We call this here because -//Element.keys.js is the last extra Ext.core.Element include in the ext-all.js build +//Import the newly-added Ext.Element functions into CompositeElementLite. We call this here because +//Element.keys.js is the last extra Ext.Element include in the ext-all.js build Ext.CompositeElementLite.importElementMethods();