Loading template/app.js +0 −1 Original line number Diff line number Diff line Loading @@ -27,6 +27,5 @@ Ext.application({ launch: function() { Docs.App = this; Docs.History.init(); this.getStore('History').load(); // Load History from localStorage } }); template/app/History.js +3 −0 Original line number Diff line number Diff line Loading @@ -15,7 +15,9 @@ Ext.define("Docs.History", { this.navigate(Ext.util.History.getToken()); }, this); Ext.util.History.on("change", this.navigate, this); // Load History from localStorage this.store = Ext.getStore("History"); this.store.load(); }, // Parses current URL and navigates to the page Loading Loading @@ -93,5 +95,6 @@ Ext.define("Docs.History", { removeClass: function(cls) { var index = this.store.find('cls', cls); this.store.removeAt(index); this.store.sync(); } }); Loading
template/app.js +0 −1 Original line number Diff line number Diff line Loading @@ -27,6 +27,5 @@ Ext.application({ launch: function() { Docs.App = this; Docs.History.init(); this.getStore('History').load(); // Load History from localStorage } });
template/app/History.js +3 −0 Original line number Diff line number Diff line Loading @@ -15,7 +15,9 @@ Ext.define("Docs.History", { this.navigate(Ext.util.History.getToken()); }, this); Ext.util.History.on("change", this.navigate, this); // Load History from localStorage this.store = Ext.getStore("History"); this.store.load(); }, // Parses current URL and navigates to the page Loading Loading @@ -93,5 +95,6 @@ Ext.define("Docs.History", { removeClass: function(cls) { var index = this.store.find('cls', cls); this.store.removeAt(index); this.store.sync(); } });