Fix syntax errors when compiling js files

This commit is contained in:
Sajjad Hashemian
2016-10-08 13:32:15 +03:30
parent ea6b943dbd
commit 1fb8092987
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;