1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 05:30:38 +02:00

Fix syntax errors when compiling js files

This commit is contained in:
Sajjad Hashemian
2016-10-08 13:32:15 +03:30
parent c33dd73f5c
commit 629bf0f030
6 changed files with 637 additions and 301 deletions

View File

@@ -102,5 +102,3 @@ Object.assign(Discussion.prototype, {
return posts ? posts.data.map(link => link.id) : [];
}
});
export default Discussion;

View File

@@ -17,5 +17,3 @@ Object.assign(Notification.prototype, {
sender: Model.hasOne('sender'),
subject: Model.hasOne('subject')
});
export default Notification;

View File

@@ -26,5 +26,3 @@ Object.assign(Post.prototype, {
canEdit: Model.attribute('canEdit'),
canDelete: Model.attribute('canDelete')
});
export default Post;

View File

@@ -109,5 +109,3 @@ Object.assign(User.prototype, {
return this.save({preferences});
}
});
export default User;