1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 00:17:31 +02:00

Rework extension bootstrapping

System JS modules don't execute when they're registered, so we need to
import them explicitly. While we're at it, we may as well make the
locale bootstrapper a module too.
This commit is contained in:
Toby Zerner
2015-07-20 18:08:28 +09:30
parent 19fe138770
commit 6b7cf1b6bf
12 changed files with 130 additions and 59 deletions

View File

@@ -1,8 +0,0 @@
import { extend, override } from 'flarum/extension-utils';
import app from 'flarum/app';
app.initializers.add('{{name}}', function() {
// @todo
});

View File

@@ -0,0 +1,4 @@
import { extend } from 'flarum/extend';
import app from 'flarum/app';
// TODO