File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
subscriptions/js/src/forum Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import app from 'flarum/admin/app' ;
2
2
3
- app . initializers . add ( 'flarum-mentions' , function ( ) {
3
+ app . initializers . add ( 'flarum-mentions' , ( ) => {
4
4
app . extensionData
5
5
. for ( 'flarum-mentions' )
6
6
. registerSetting ( {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ app.mentionFormats = new MentionFormats();
17
17
18
18
export { default as extend } from './extend' ;
19
19
20
- app . initializers . add ( 'flarum-mentions' , function ( ) {
20
+ app . initializers . add ( 'flarum-mentions' , ( ) => {
21
21
// For every mention of a post inside a post's content, set up a hover handler
22
22
// that shows a preview of the mentioned post.
23
23
addPostMentionPreviews ( ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import addSubscriptionSettings from './addSubscriptionSettings';
8
8
9
9
export { default as extend } from './extend' ;
10
10
11
- app . initializers . add ( 'flarum-subscriptions' , function ( ) {
11
+ app . initializers . add ( 'flarum-subscriptions' , ( ) => {
12
12
addSubscriptionBadge ( ) ;
13
13
addSubscriptionControls ( ) ;
14
14
addSubscriptionFilter ( ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import addTagComposer from './addTagComposer';
10
10
11
11
export { default as extend } from './extend' ;
12
12
13
- app . initializers . add ( 'flarum-tags' , function ( ) {
13
+ app . initializers . add ( 'flarum-tags' , ( ) => {
14
14
app . tagList = new TagListState ( ) ;
15
15
16
16
addTagList ( ) ;
You can’t perform that action at this time.
0 commit comments