Ext.onReady(function(){
table = 'kjsfdgjkdjfh';
var TreeNodeAdd = page.TreeNodeAdd;
var TreeNodeMove = page.TreeNodeMove;
var TreeNodeRename = page.TreeNodeRename;
var TreeNodeDelete = page.TreeNodeDelete
var TreeNodeBeforeStartEdit = page.TreeNodeBeforeStartEdit;
var TreeNodeUrl = page.TreeNodeUrl;
var TabAdd = page.TabAdd;
});
var page = new (function(){
this.TreeNodeAdd = function()
{
alert(table);
}
this.TreeNodeUp = function()
{
}
this.TreeNodeDown = function()
{
}
this.TreeNodeRename = function()
{
}
this.TreeNodeDelete = function()
{
}
this.TreeReplace = function()
{
}
......
})();