Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git] / examples / toolbar / overflow.js
index 032a1c1..c160c2f 100644 (file)
@@ -1,56 +1,56 @@
 /*!
 /*!
- * Ext JS Library 3.1.1
- * Copyright(c) 2006-2010 Ext JS, LLC
+ * Ext JS Library 3.3.0
+ * Copyright(c) 2006-2010 Ext JS, Inc.
  * licensing@extjs.com
  * http://www.extjs.com/license
  */
  * licensing@extjs.com
  * http://www.extjs.com/license
  */
-Ext.onReady(function(){\r
-\r
-    var handleAction = function(action){\r
-        Ext.example.msg('<b>Action</b>', 'You clicked "'+action+'"');\r
-    };\r
-    \r
-    var p = new Ext.Window({\r
-        title: 'Standard',\r
-        closable: false,\r
-        height:250,\r
-        width: 500,\r
-        bodyStyle: 'padding:10px',\r
-        contentEl: 'content',\r
-        autoScroll: true,\r
-        tbar: new Ext.Toolbar({\r
-            enableOverflow: true,\r
-            items: [{\r
-                xtype:'splitbutton',\r
-                text: 'Menu Button',\r
-                iconCls: 'add16',\r
-                handler: handleAction.createCallback('Menu Button'),\r
-                menu: [{text: 'Menu Item 1', handler: handleAction.createCallback('Menu Item 1')}]\r
-            },'-',{\r
-                xtype:'splitbutton',\r
-                text: 'Cut',\r
-                iconCls: 'add16',\r
-                handler: handleAction.createCallback('Cut'),\r
-                menu: [{text: 'Cut menu', handler: handleAction.createCallback('Cut menu')}]\r
-            },{\r
-                text: 'Copy',\r
-                iconCls: 'add16',\r
-                handler: handleAction.createCallback('Copy')\r
-            },{\r
-                text: 'Paste',\r
-                iconCls: 'add16',\r
-                menu: [{text: 'Paste menu', handler: handleAction.createCallback('Paste menu')}]\r
-            },'-',{\r
-                text: 'Format',\r
-                iconCls: 'add16',\r
-                handler: handleAction.createCallback('Format')\r
-            },'->',{\r
-                text: 'Right',\r
-                iconCls: 'add16',\r
-                handler: handleAction.createCallback('Right')\r
-            }]\r
-        })\r
-    });\r
-    p.show();\r
-\r
+Ext.onReady(function(){
+
+    var handleAction = function(action){
+        Ext.example.msg('<b>Action</b>', 'You clicked "'+action+'"');
+    };
+    
+    var p = new Ext.Window({
+        title: 'Standard',
+        closable: false,
+        height:250,
+        width: 500,
+        bodyStyle: 'padding:10px',
+        contentEl: 'content',
+        autoScroll: true,
+        tbar: new Ext.Toolbar({
+            enableOverflow: true,
+            items: [{
+                xtype:'splitbutton',
+                text: 'Menu Button',
+                iconCls: 'add16',
+                handler: handleAction.createCallback('Menu Button'),
+                menu: [{text: 'Menu Item 1', handler: handleAction.createCallback('Menu Item 1')}]
+            },'-',{
+                xtype:'splitbutton',
+                text: 'Cut',
+                iconCls: 'add16',
+                handler: handleAction.createCallback('Cut'),
+                menu: [{text: 'Cut menu', handler: handleAction.createCallback('Cut menu')}]
+            },{
+                text: 'Copy',
+                iconCls: 'add16',
+                handler: handleAction.createCallback('Copy')
+            },{
+                text: 'Paste',
+                iconCls: 'add16',
+                menu: [{text: 'Paste menu', handler: handleAction.createCallback('Paste menu')}]
+            },'-',{
+                text: 'Format',
+                iconCls: 'add16',
+                handler: handleAction.createCallback('Format')
+            },'->',{
+                text: 'Right',
+                iconCls: 'add16',
+                handler: handleAction.createCallback('Right')
+            }]
+        })
+    });
+    p.show();
+
 });
\ No newline at end of file
 });
\ No newline at end of file