Skip to content

Instantly share code, notes, and snippets.

@joshk
Created February 16, 2011 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshk/830532 to your computer and use it in GitHub Desktop.
Save joshk/830532 to your computer and use it in GitHub Desktop.
render: function(username) {
var self = this;
this.repositories.fetch({ success: function() {
var content = this.templates.list({
builds_list_title: "Recent Builds",
repositories: Travis.Collections.Repositories.toJSON()
});
self.el.fadeOut('fast', function() {
self.el.html(content);
self.el.fadeIn('fast');
});
}});
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment