Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / examples / ux / Portal.js
similarity index 92%
rename from examples/portal/Portal.js
rename to examples/ux/Portal.js
index 01be495..2f788d5 100644 (file)
@@ -1,16 +1,14 @@
-/*\r
- * Ext JS Library 2.2.1\r
- * Copyright(c) 2006-2009, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
 Ext.ux.Portal = Ext.extend(Ext.Panel, {\r
-    layout: 'column',\r
-    autoScroll:true,\r
-    cls:'x-portal',\r
-    defaultType: 'portalcolumn',\r
+    layout : 'column',\r
+    autoScroll : true,\r
+    cls : 'x-portal',\r
+    defaultType : 'portalcolumn',\r
     \r
     initComponent : function(){\r
         Ext.ux.Portal.superclass.initComponent.call(this);\r
@@ -28,13 +26,14 @@ Ext.ux.Portal = Ext.extend(Ext.Panel, {
         this.dd = new Ext.ux.Portal.DropZone(this, this.dropConfig);\r
     },\r
     \r
-    beforeDestroy: function() {\r
+    beforeDestroy : function() {\r
         if(this.dd){\r
             this.dd.unreg();\r
         }\r
         Ext.ux.Portal.superclass.beforeDestroy.call(this);\r
     }\r
 });\r
+\r
 Ext.reg('portal', Ext.ux.Portal);\r
 \r
 \r