git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.3.1 - Released 11/30/2010
[extjs.git]
/
docs
/
source
/
Element.keys.html
diff --git
a/docs/source/Element.keys.html
b/docs/source/Element.keys.html
index
8e8e3b3
..
b5e0589
100644
(file)
--- a/
docs/source/Element.keys.html
+++ b/
docs/source/Element.keys.html
@@
-7,10
+7,10
@@
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.
2.0
- * Copyright(c) 2006-2010
Ext JS,
Inc.
- * licensing@
extjs
.com
- * http://www.
extjs
.com/license
+ * Ext JS Library 3.
3.1
+ * Copyright(c) 2006-2010
Sencha
Inc.
+ * licensing@
sencha
.com
+ * http://www.
sencha
.com/license
*/
/**
* @class Ext.Element
*/
/**
* @class Ext.Element
@@
-26,7
+26,7
@@
Ext.Element.addMethods({
*/
addKeyListener : function(key, fn, scope){
var config;
*/
addKeyListener : function(key, fn, scope){
var config;
- if(
!Ext.isObject(key)
|| Ext.isArray(key)){
+ if(
typeof key != 'object'
|| Ext.isArray(key)){
config = {
key: key,
fn: fn,
config = {
key: key,
fn: fn,
@@
-53,6
+53,10
@@
Ext.Element.addMethods({
addKeyMap : function(config){
return new Ext.KeyMap(this, config);
}
addKeyMap : function(config){
return new Ext.KeyMap(this, config);
}
-});</pre>
+});
+
+//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();</pre>
</body>
</html>
\ No newline at end of file
</body>
</html>
\ No newline at end of file