Last active
December 16, 2015 00:29
-
-
Save jquerygeek/5348275 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
initialize: function() { | |
this.route(':team/:user/:date', 'workdiary'); | |
Backbone.history.start(); | |
}, | |
workdiary: function(team, user, date) { | |
this._load(); // _load() app method | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is our current
_load
function:I don't know what it's doing. Lots of random stuff.
here's how we can clean it up (more or less). Keep it very short.