X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..e9397f91ede62d446aed37d23256e8938fc4c335:/examples/direct/direct-tree.js diff --git a/examples/direct/direct-tree.js b/examples/direct/direct-tree.js index 0914c7d8..b6cf2d66 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 - * 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.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(); + } + }] + }); +});