diaspora/public/javascripts/app/views/reshare_view.js
2012-01-07 14:23:21 -08:00

15 lines
320 B
JavaScript

App.Views.Reshare = Backbone.View.extend({
initialize: function(options) {
this.model = options.model;
this.template = _.template($("#reshare-template").html());
},
render: function() {
this.el = $(this.template($.extend(
this.model.toJSON(),
App.user()
)));
return this;
}
});