[TYPO3-v4] TYPO3 PageRenderer introduces a concatenation/compression change from 4.3 to 4.4
Steffen Kamper
info at sk-typo3.de
Sat Sep 25 00:25:52 CEST 2010
Hi,
i think we need a real concatenate class that you use "before" attaching
them to pagerenderer. Concatenating is tricky and you need a special
order in that files.
my wish would be something like
$concatenator = t3lib_div::makeInstance('t3lib_Concatenator');
$concatenator ->register(a.js);
$concatenator ->register(b.js);
$concatenator ->registerInline('code block');
...
$pageRenderer->addJsFile($concatenator->concatenate()->writeFile('myApp-all.js');
then this file can be compressed in any way.
vg Steffen
More information about the TYPO3-project-v4
mailing list