</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.2.0
+ * Ext JS Library 3.2.1
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
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,
addKeyMap : function(config){
return new Ext.KeyMap(this, config);
}
-});</pre>
+});
+</pre>
</body>
</html>
\ No newline at end of file