Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / docs / app / view / cls / TabPanel.js
diff --git a/docs/app/view/cls/TabPanel.js b/docs/app/view/cls/TabPanel.js
deleted file mode 100644 (file)
index 316a494..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * The documentation panel.
- * TODO: Source code tab, Examples, Q&A
- */
-Ext.define('Docs.view.cls.TabPanel', {
-    extend: 'Ext.tab.Panel',
-    alias: 'widget.classtabpanel',
-    requires: [
-        'Docs.view.cls.Overview'
-    ],
-
-    plain: true,
-
-    // Remember tab scroll position on Webkit
-    listeners: {
-        beforetabchange: function(tabPanel, newCard, oldCard) {
-            oldCard.prevScroll = oldCard.body.getScroll()['top'];
-        },
-        tabchange: function(tabPanel, newCard, oldCard) {
-            if (newCard.prevScroll) {
-                newCard.body.scrollTo('top', newCard.prevScroll);
-            }
-        }
-    }
-
-});