Newer
Older
ubuntuhu-news / js / src / forum / index.js
@Réz István Réz István on 15 Nov 2021 444 bytes first commit
/*
 * This file is part of justoverclock/custom-html-widget.
 *
 * Copyright (c) 2021 Marco Colia.
 * https://flarum.it
 *
 * For the full copyright and license information, please view the LICENSE.md
 * file that was distributed with this source code.
 */

import app from 'flarum/forum/app';
import registerWidget from '../common/registerWidget';

app.initializers.add('justoverclock/custom-html-widget', () => {
    registerWidget(app);
});