Skip to content

Instantly share code, notes, and snippets.

@Supernats
Created May 6, 2014 18:47
Show Gist options
  • Save Supernats/99cb65e42da075866bf1 to your computer and use it in GitHub Desktop.
Save Supernats/99cb65e42da075866bf1 to your computer and use it in GitHub Desktop.
var afterDone = function (bool) {
if (n > 0) {
n -= 1;
} else {
BillApp.otherUsers = new BillApp.Collections.OtherUsers();
BillApp.transactions = BillApp.user.get('transactions');
BillApp.friends = BillApp.user.get('friends');
BillApp.debts = BillApp.user.get('debts');
BillApp.credits = BillApp.user.get('credits');
BillApp.router = new BillApp.Routers.Router({ $rootEl: $('#content') });
Backbone.history.start();
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment