Loading template/app/History.js +2 −2 Original line number Diff line number Diff line Loading @@ -21,10 +21,10 @@ Ext.define("Docs.History", { Docs.App.getController('Classes').loadClass(url.url, true); } else if (url.type === "guide") { Docs.App.getController('Classes').showGuide(url.url, true); Docs.App.getController('Classes').loadGuide(url.url, true); } else { Docs.App.getController('Classes').showIndex(true); Docs.App.getController('Classes').loadIndex(true); } }, Loading template/app/controller/Classes.js +5 −5 Original line number Diff line number Diff line Loading @@ -133,7 +133,7 @@ Ext.define('Docs.controller.Classes', { this.loadClass(url); } else { this.showGuide(url); this.loadGuide(url); } } }, Loading @@ -152,7 +152,7 @@ Ext.define('Docs.controller.Classes', { * * @param {Boolean} noHistory true to disable adding entry to browser history */ showIndex: function(noHistory) { loadIndex: function(noHistory) { this.activeUrl = ""; if (!noHistory) { Docs.History.push(""); Loading Loading @@ -208,7 +208,7 @@ Ext.define('Docs.controller.Classes', { }, showClass: function(cls, anchor) { if (this.currentCls != cls) { if (this.currentCls !== cls) { this.getViewport().setPageTitle(cls.name); this.getHeader().load(cls); this.getOverview().load(cls); Loading Loading @@ -237,7 +237,7 @@ Ext.define('Docs.controller.Classes', { * @param {String} url URL of the guide * @param {Boolean} noHistory true to disable adding entry to browser history */ showGuide: function(url, noHistory) { loadGuide: function(url, noHistory) { if (this.activeUrl === url) return; this.activeUrl = url; Loading Loading @@ -265,8 +265,8 @@ Ext.define('Docs.controller.Classes', { /** * Displays page with 404 error message. * * @param {String} msg * @private */ showFailure: function(msg) { this.getOverview().setLoading(false); Loading template/app/view/Viewport.js +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ Ext.define('Docs.view.Viewport', { ui: 'hmm', listeners: { click: function() { Docs.App.getController('Classes').showIndex(); Docs.App.getController('Classes').loadIndex(); }, scope: this } Loading Loading
template/app/History.js +2 −2 Original line number Diff line number Diff line Loading @@ -21,10 +21,10 @@ Ext.define("Docs.History", { Docs.App.getController('Classes').loadClass(url.url, true); } else if (url.type === "guide") { Docs.App.getController('Classes').showGuide(url.url, true); Docs.App.getController('Classes').loadGuide(url.url, true); } else { Docs.App.getController('Classes').showIndex(true); Docs.App.getController('Classes').loadIndex(true); } }, Loading
template/app/controller/Classes.js +5 −5 Original line number Diff line number Diff line Loading @@ -133,7 +133,7 @@ Ext.define('Docs.controller.Classes', { this.loadClass(url); } else { this.showGuide(url); this.loadGuide(url); } } }, Loading @@ -152,7 +152,7 @@ Ext.define('Docs.controller.Classes', { * * @param {Boolean} noHistory true to disable adding entry to browser history */ showIndex: function(noHistory) { loadIndex: function(noHistory) { this.activeUrl = ""; if (!noHistory) { Docs.History.push(""); Loading Loading @@ -208,7 +208,7 @@ Ext.define('Docs.controller.Classes', { }, showClass: function(cls, anchor) { if (this.currentCls != cls) { if (this.currentCls !== cls) { this.getViewport().setPageTitle(cls.name); this.getHeader().load(cls); this.getOverview().load(cls); Loading Loading @@ -237,7 +237,7 @@ Ext.define('Docs.controller.Classes', { * @param {String} url URL of the guide * @param {Boolean} noHistory true to disable adding entry to browser history */ showGuide: function(url, noHistory) { loadGuide: function(url, noHistory) { if (this.activeUrl === url) return; this.activeUrl = url; Loading Loading @@ -265,8 +265,8 @@ Ext.define('Docs.controller.Classes', { /** * Displays page with 404 error message. * * @param {String} msg * @private */ showFailure: function(msg) { this.getOverview().setLoading(false); Loading
template/app/view/Viewport.js +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ Ext.define('Docs.view.Viewport', { ui: 'hmm', listeners: { click: function() { Docs.App.getController('Classes').showIndex(); Docs.App.getController('Classes').loadIndex(); }, scope: this } Loading