Skip to content

Instantly share code, notes, and snippets.

@raine
Created May 22, 2013 15:41
Show Gist options
  • Select an option

  • Save raine/5628576 to your computer and use it in GitHub Desktop.

Select an option

Save raine/5628576 to your computer and use it in GitHub Desktop.
render: function() {
this.$el.append(this.topicViews.map(function(view) {
return view.render().el;
}));
return this;
}
render: function() {
this.$el.append(
_.pluck(_.invoke(this.topicViews, 'render'), 'el')
);
return this;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment