cleaned out startAfter function
parent
845c11ad3a
commit
f4605ef2fc
|
@ -803,7 +803,10 @@
|
|||
|
||||
this.breadCrumbView.render();
|
||||
|
||||
//this.startAfter([this.clientList, this.whiteListList]);
|
||||
//
|
||||
// Several items depend on the clients and whitelists being loaded, so we're going to pre-fetch them here
|
||||
// and not start the app router until they're loaded.
|
||||
//
|
||||
|
||||
// load things in the right order:
|
||||
|
||||
|
@ -822,18 +825,6 @@
|
|||
|
||||
},
|
||||
|
||||
/*
|
||||
startAfter:function (collections) {
|
||||
// Start history when required collections are loaded
|
||||
var start = _.after(collections.length, _.once(function () {
|
||||
|
||||
}));
|
||||
_.each(collections, function (collection) {
|
||||
collection.bind('reset', start, Backbone.history);
|
||||
});
|
||||
},
|
||||
*/
|
||||
|
||||
listClients:function () {
|
||||
|
||||
this.breadCrumbView.collection.reset();
|
||||
|
|
Loading…
Reference in New Issue