Tweak TextFormatter JS settings

This commit is contained in:
Toby Zerner 2015-07-28 12:44:58 +09:30
parent 62a01c69a9
commit 8c18ff3349

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,