Upgrade to ExtJS 3.2.0 - Released 03/30/2010
[extjs.git] / examples / window / hello.js
index 4a346c4..f39b687 100644 (file)
@@ -1,43 +1,43 @@
 /*!
- * 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
-    var win;\r
-    var button = Ext.get('show-btn');\r
-\r
-    button.on('click', function(){\r
-        // create the window on the first click and reuse on subsequent clicks\r
-        if(!win){\r
-            win = new Ext.Window({\r
-                applyTo:'hello-win',\r
-                layout:'fit',\r
-                width:500,\r
-                height:300,\r
-                closeAction:'hide',\r
-                plain: true,\r
-\r
-                items: new Ext.TabPanel({\r
-                    applyTo: 'hello-tabs',\r
-                    autoTabs:true,\r
-                    activeTab:0,\r
-                    deferredRender:false,\r
-                    border:false\r
-                }),\r
-\r
-                buttons: [{\r
-                    text:'Submit',\r
-                    disabled:true\r
-                },{\r
-                    text: 'Close',\r
-                    handler: function(){\r
-                        win.hide();\r
-                    }\r
-                }]\r
-            });\r
-        }\r
-        win.show(this);\r
-    });\r
+Ext.onReady(function(){
+    var win;
+    var button = Ext.get('show-btn');
+
+    button.on('click', function(){
+        // create the window on the first click and reuse on subsequent clicks
+        if(!win){
+            win = new Ext.Window({
+                applyTo:'hello-win',
+                layout:'fit',
+                width:500,
+                height:300,
+                closeAction:'hide',
+                plain: true,
+
+                items: new Ext.TabPanel({
+                    applyTo: 'hello-tabs',
+                    autoTabs:true,
+                    activeTab:0,
+                    deferredRender:false,
+                    border:false
+                }),
+
+                buttons: [{
+                    text:'Submit',
+                    disabled:true
+                },{
+                    text: 'Close',
+                    handler: function(){
+                        win.hide();
+                    }
+                }]
+            });
+        }
+        win.show(this);
+    });
 });
\ No newline at end of file