Add vendor prefix to initializer name

This commit is contained in:
Toby Zerner 2015-06-25 15:39:17 +09:30
parent 48ca774af9
commit 9f2393f7bb

View File

@ -10,7 +10,7 @@ import composerAutocomplete from 'flarum-mentions/composer-autocomplete';
import PostMentionedNotification from 'flarum-mentions/components/post-mentioned-notification';
import UserMentionedNotification from 'flarum-mentions/components/user-mentioned-notification';
app.initializers.add('mentions', function() {
app.initializers.add('flarum-mentions', function() {
// For every mention of a post inside a post's content, set up a hover handler
// that shows a preview of the mentioned post.
postMentionPreviews();