1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 14:10:37 +02:00

Update TextFormatter deprecated API

This commit is contained in:
Toby Zerner
2018-09-21 11:23:24 +09:30
parent 9e487b4e41
commit c34fcecf03

View File

@@ -112,7 +112,7 @@ class Formatter
$configurator->rendering->engine->cacheDir = $this->cacheDir;
$configurator->enableJavaScript();
$configurator->javascript->exportMethods = ['preview'];
$configurator->javascript->exports = ['preview'];
$configurator->javascript->setMinifier('MatthiasMullieMinify')
->keepGoing = true;