Tweak TextFormatter JS settings

This commit is contained in:
Toby Zerner 2015-07-28 12:44:58 +09:30
parent 681135ac99
commit 1bad4b38cd

View File

@ -63,7 +63,9 @@ class Formatter
{
$configurator = $this->getConfigurator();
$configurator->enableJavaScript();
$configurator->javascript->setMinifier('ClosureCompilerService');
$configurator->javascript->exportMethods = ['preview'];
$minifier = $configurator->javascript->setMinifier('ClosureCompilerService');
$minifier->keepGoing = true;
return $configurator->finalize([
'returnParser' => false,