14 lines
328 B
JavaScript
14 lines
328 B
JavaScript
app.models.Reshare = app.models.Post.extend({
|
|
rootPost : function(){
|
|
this._rootPost = this._rootPost || new app.models.Post(this.get("root"))
|
|
return this._rootPost
|
|
},
|
|
|
|
reshare : function(){
|
|
return this.rootPost().reshare()
|
|
},
|
|
|
|
reshareAuthor : function(){
|
|
return this.rootPost().reshareAuthor()
|
|
}
|
|
});
|