/*!
- * Ext JS Library 3.1.1
- * Copyright(c) 2006-2010 Ext JS, LLC
+ * Ext JS Library 3.2.0
+ * Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
-Ext.onReady(function(){\r
- Ext.Direct.addProvider(Ext.app.REMOTING_API);\r
-\r
- var tree = new Ext.tree.TreePanel({\r
- width: 400,\r
- height: 400,\r
- autoScroll: true,\r
- renderTo: document.body,\r
- root: {\r
- id: 'root',\r
- text: 'Root'\r
- },\r
- loader: new Ext.tree.TreeLoader({\r
- directFn: TestAction.getTree\r
- }),\r
- fbar: [{\r
- text: 'Reload root',\r
- handler: function(){\r
- tree.getRootNode().reload();\r
- }\r
- }]\r
- });\r
-});\r
+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();
+ }
+ }]
+ });
+});