mirror of
https://github.com/flarum/framework.git
synced 2025-05-28 02:40:00 +08:00
Fix syntax errors when compiling js files
This commit is contained in:
@ -102,5 +102,3 @@ Object.assign(Discussion.prototype, {
|
||||
return posts ? posts.data.map(link => link.id) : [];
|
||||
}
|
||||
});
|
||||
|
||||
export default Discussion;
|
||||
|
@ -17,5 +17,3 @@ Object.assign(Notification.prototype, {
|
||||
sender: Model.hasOne('sender'),
|
||||
subject: Model.hasOne('subject')
|
||||
});
|
||||
|
||||
export default Notification;
|
@ -26,5 +26,3 @@ Object.assign(Post.prototype, {
|
||||
canEdit: Model.attribute('canEdit'),
|
||||
canDelete: Model.attribute('canDelete')
|
||||
});
|
||||
|
||||
export default Post;
|
||||
|
@ -109,5 +109,3 @@ Object.assign(User.prototype, {
|
||||
return this.save({preferences});
|
||||
}
|
||||
});
|
||||
|
||||
export default User;
|
||||
|
Reference in New Issue
Block a user