X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..f5240829880f87e0cf581c6a296e436fdef0ef80:/examples/direct/direct-tree.js diff --git a/examples/direct/direct-tree.js b/examples/direct/direct-tree.js index 0914c7d8..36b36f30 100644 --- a/examples/direct/direct-tree.js +++ b/examples/direct/direct-tree.js @@ -1,29 +1,29 @@ /*! - * Ext JS Library 3.0.0 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.3.0 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ -Ext.onReady(function(){ - Ext.Direct.addProvider(Ext.app.REMOTING_API); - - var tree = new Ext.tree.TreePanel({ - width: 400, - height: 400, - autoScroll: true, - renderTo: document.body, - root: { - id: 'root', - text: 'Root' - }, - loader: new Ext.tree.TreeLoader({ - directFn: TestAction.getTree - }), - fbar: [{ - text: 'Reload root', - handler: function(){ - tree.getRootNode().reload(); - } - }] - }); -}); +Ext.onReady(function(){ + Ext.Direct.addProvider(Ext.app.REMOTING_API); + + var tree = new Ext.tree.TreePanel({ + width: 400, + height: 400, + autoScroll: true, + renderTo: document.body, + root: { + id: 'root', + text: 'Root' + }, + loader: new Ext.tree.TreeLoader({ + directFn: TestAction.getTree + }), + fbar: [{ + text: 'Reload root', + handler: function(){ + tree.getRootNode().reload(); + } + }] + }); +});