mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +08:00
Use System.get instead of System.import
All of the modules we import should already be loaded, and we don't want to ever attempt to import them anyway because we do not include a Promise polyfill.
This commit is contained in:
parent
6873f77012
commit
87a8e4a137
|
@ -35,7 +35,7 @@
|
|||
};
|
||||
|
||||
@foreach ($bootstrappers as $bootstrapper)
|
||||
System.import('{{ $bootstrapper }}');
|
||||
System.get('{{ $bootstrapper }}');
|
||||
@endforeach
|
||||
|
||||
app.boot();
|
||||
|
|
Loading…
Reference in New Issue
Block a user