X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..e9397f91ede62d446aed37d23256e8938fc4c335:/src/debug.js
diff --git a/src/debug.js b/src/debug.js
index a3a113d7..0afd8d29 100644
--- a/src/debug.js
+++ b/src/debug.js
@@ -1,8 +1,8 @@
/*!
- * Ext JS Library 3.0.0
- * Copyright(c) 2006-2009 Ext JS, LLC
- * 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
*/
Ext.debug = {};
@@ -92,7 +92,7 @@ function createConsole(){
// handleResize();
function handleResize(){
- var b = Ext.getBody()
+ var b = Ext.getBody();
var size = b.getViewSize();
if(size.height < b.dom.scrollHeight) {
size.width -= 18;
@@ -236,10 +236,11 @@ Ext.debug.LogPanel = Ext.extend(Ext.Panel, {
log : function(){
var markup = [ '
',
Ext.util.Format.htmlEncode(Array.prototype.join.call(arguments, ', ')).replace(/\n/g, '
').replace(/\s/g, ' '),
- '
'].join('');
+ ''].join(''),
+ bd = this.body.dom;
this.body.insertHtml('beforeend', markup);
- this.body.scrollTo('top', 100000);
+ bd.scrollTop = bd.scrollHeight;
},
clear : function(){
@@ -463,7 +464,7 @@ Ext.debug.ComponentInspector = Ext.extend(Ext.tree.TreePanel, {
if (c.id != this.id && c.id != this.bottomToolbar.id) {
var newNode = this.createNode(n,c);
if (!newNode.leaf) {
- this.parseChildItems(newNode)
+ this.parseChildItems(newNode);
}
}
}
@@ -498,7 +499,7 @@ Ext.debug.ComponentInspector = Ext.extend(Ext.tree.TreePanel, {
this.parseRootNode();
var ci = Ext.getCmp('x-debug-compinfo');
if (ci) {
- ci.message('refreshed component tree - '+Ext.ComponentMgr.all.length)
+ ci.message('refreshed component tree - '+Ext.ComponentMgr.all.length);
}
}
});
@@ -641,7 +642,7 @@ Ext.debug.ObjectInspector = Ext.extend(Ext.tree.TreePanel, {
this.toggleFunc = function() {
this.showFunc = !this.showFunc;
this.refreshNodes(this.currentObject);
- }
+ };
this.bbar = new Ext.Toolbar([{
text: 'Show Functions',
enableToggle: true,