Loading template/app/controller/Classes.js +1 −8 Original line number Diff line number Diff line Loading @@ -7,8 +7,7 @@ Ext.define('Docs.controller.Classes', { requires: [ 'Docs.History', 'Docs.Syntax', 'Docs.view.cls.Overview' 'Docs.Syntax' ], stores: [ Loading Loading @@ -224,12 +223,6 @@ Ext.define('Docs.controller.Classes', { if (this.currentCls !== cls) { this.getViewport().setPageTitle(cls.name); this.getHeader().load(cls); if (!this.getOverview()) { this.getTabPanel().add(Ext.create('Docs.view.cls.Overview')); this.getTabPanel().setActiveTab(0); } this.getOverview().load(cls); this.getOverview().setLoading(false); Loading template/app/view/cls/Container.js +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ Ext.define('Docs.view.cls.Container', { initComponent: function() { this.items = [ Ext.create('Docs.view.cls.Header'), Ext.create('Docs.view.cls.TabPanel', { Ext.create('Docs.view.cls.Overview', { flex: 1 }) ]; Loading template/app/view/cls/Overview.js +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ Ext.define('Docs.view.cls.Overview', { ], cls: 'class-overview iScroll', title: 'Overview', autoScroll: true, bodyPadding: '20', Loading template/app/view/cls/TabPanel.jsdeleted 100644 → 0 +0 −23 Original line number Diff line number Diff line /** * The documentation panel. * TODO: Source code tab, Examples, Q&A */ Ext.define('Docs.view.cls.TabPanel', { extend: 'Ext.tab.Panel', alias: 'widget.classtabpanel', 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); } } } }); No newline at end of file Loading
template/app/controller/Classes.js +1 −8 Original line number Diff line number Diff line Loading @@ -7,8 +7,7 @@ Ext.define('Docs.controller.Classes', { requires: [ 'Docs.History', 'Docs.Syntax', 'Docs.view.cls.Overview' 'Docs.Syntax' ], stores: [ Loading Loading @@ -224,12 +223,6 @@ Ext.define('Docs.controller.Classes', { if (this.currentCls !== cls) { this.getViewport().setPageTitle(cls.name); this.getHeader().load(cls); if (!this.getOverview()) { this.getTabPanel().add(Ext.create('Docs.view.cls.Overview')); this.getTabPanel().setActiveTab(0); } this.getOverview().load(cls); this.getOverview().setLoading(false); Loading
template/app/view/cls/Container.js +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ Ext.define('Docs.view.cls.Container', { initComponent: function() { this.items = [ Ext.create('Docs.view.cls.Header'), Ext.create('Docs.view.cls.TabPanel', { Ext.create('Docs.view.cls.Overview', { flex: 1 }) ]; Loading
template/app/view/cls/Overview.js +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ Ext.define('Docs.view.cls.Overview', { ], cls: 'class-overview iScroll', title: 'Overview', autoScroll: true, bodyPadding: '20', Loading
template/app/view/cls/TabPanel.jsdeleted 100644 → 0 +0 −23 Original line number Diff line number Diff line /** * The documentation panel. * TODO: Source code tab, Examples, Q&A */ Ext.define('Docs.view.cls.TabPanel', { extend: 'Ext.tab.Panel', alias: 'widget.classtabpanel', 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); } } } }); No newline at end of file