|
@@ -21,7 +21,7 @@ |
|
|
block discarded – undo |
|
21
|
21
|
$templateFunction = new \Transphporm\TSSFunction\Template($config->getElementData(), $config->getCssToXpath(), $baseDir); |
|
22
|
22
|
$functionSet->addFunction('template', $templateFunction); |
|
23
|
23
|
$functionSet->addFunction('json', new \Transphporm\TSSFunction\Json($baseDir)); |
|
24
|
|
- $functionSet->addFunction('constant', new \Transphporm\TSSFunction\Constant()); |
|
|
24
|
+ $functionSet->addFunction('constant', new \Transphporm\TSSFunction\Constant()); |
|
25
|
25
|
|
|
26
|
26
|
// Register HTML formatter here because it uses the template function |
|
27
|
27
|
$config->registerFormatter(new \Transphporm\Formatter\HTMLFormatter($templateFunction)); |
Please login to merge, or discard this patch.