2015-05-18 17:20:24 +08:00
|
|
|
import CommentPost from 'flarum/components/comment-post';
|
|
|
|
import DiscussionRenamedPost from 'flarum/components/discussion-renamed-post';
|
|
|
|
import PostActivity from 'flarum/components/post-activity';
|
|
|
|
import JoinActivity from 'flarum/components/join-activity';
|
|
|
|
import DiscussionRenamedNotification from 'flarum/components/discussion-renamed-notification';
|
2015-04-25 20:58:39 +08:00
|
|
|
|
|
|
|
export default function(app) {
|
|
|
|
app.postComponentRegistry = {
|
2015-05-18 17:20:24 +08:00
|
|
|
comment: CommentPost,
|
|
|
|
discussionRenamed: DiscussionRenamedPost
|
2015-04-25 20:58:39 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
app.activityComponentRegistry = {
|
2015-05-18 17:20:24 +08:00
|
|
|
post: PostActivity,
|
|
|
|
join: JoinActivity
|
2015-04-25 20:58:39 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
app.notificationComponentRegistry = {
|
2015-05-18 17:20:24 +08:00
|
|
|
discussionRenamed: DiscussionRenamedNotification
|
2015-04-25 20:58:39 +08:00
|
|
|
};
|
|
|
|
}
|