From 288266d85a5e6332872083ac349c06b9a13eea73 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 21 Sep 2018 11:23:24 +0930 Subject: [PATCH] Update TextFormatter deprecated API --- framework/core/src/Formatter/Formatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Formatter/Formatter.php b/framework/core/src/Formatter/Formatter.php index e91114f5d..4c431dce5 100644 --- a/framework/core/src/Formatter/Formatter.php +++ b/framework/core/src/Formatter/Formatter.php @@ -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;