Re: [TYPO3-english] Minification for JavaScript files

2012-09-01 Thread Jan Bednarik
Hi, It's very error prone and there are no good on-the-fly PHP compressors available, which have a fitting license. have a look at https://github.com/vrana/JsShrink/ Regards Jan ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org

Re: [TYPO3-english] Minification for JavaScript files

2012-09-01 Thread Thomas Thasmo Deinhamer
Hello, isn't it only error prone in case the JS code itself is not formatted properly? There are some good PHP tools available for this, as far as I know. The only problem _could_ be to find one, with a fitting licence, no? Regards, Thomas Steffen Gebert schrieb: It's very error prone and

Re: [TYPO3-english] Minification for JavaScript files

2012-09-01 Thread Mark Boland
Hi Thomas, isn't there already jsmin.php in typo3/contrib? Regards Mark Am 01.09.2012 um 11:14 schrieb Jan Bednarik i...@bednarik.org: Hi, It's very error prone and there are no good on-the-fly PHP compressors available, which have a fitting license. have a look at

Re: [TYPO3-english] Minification for JavaScript files

2012-09-01 Thread Steffen Gebert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It was removed from 6.0, because it has a bad license statement, see http://wonko.com/post/jsmin-isnt-welcome-on-google-code Kind regards Steffen - -- Steffen Gebert TYPO3 v4 Core Team Member TYPO3 Server Administration Team Member TYPO3

Re: [TYPO3-english] Minification for JavaScript files

2012-09-01 Thread Jan Bednarik
It was removed from 6.0, because it has a bad license statement, see http://wonko.com/post/jsmin-isnt-welcome-on-google-code And that was the reason Jan Vrana created the JsShrink - it has the correct licence. Jan ___ TYPO3-english mailing list

Re: [TYPO3-english] Minification for JavaScript files

2012-08-27 Thread Chris Müller
Hi Steffen, but there is a method t3lib_div::minifyJavaScript() which does the minification. Also this function is called in t3lib_PageRenderer::doCompressJavaScript(). So this should work, or I am wrong? I'm having the same problem, no minification occurs. But the documentation of

Re: [TYPO3-english] Minification for JavaScript files

2012-08-27 Thread Steffen Gebert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Chris, yes, that's what I said. No minification for JS. That's the whole code. No minification: public function compressJsFile($filename) { // generate the unique name of the file $filenameAbsolute =

Re: [TYPO3-english] Minification for JavaScript files

2012-08-27 Thread Steffen Gebert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry, I didn't expect Thunderbird to reformat the code. See class t3lib_compressor in 4.x and ResourceCompressor in 6.0 Kind regards Steffen - -- Steffen Gebert TYPO3 v4 Core Team Member TYPO3 Server Administration Team Member TYPO3

Re: [TYPO3-english] Minification for JavaScript files

2012-08-27 Thread Chris Müller
Hi Steffen, okay, so I will have to use scriptmerger again and have to drop the use of the core feature. Regards, Chris. Am 27.08.2012 08:31, schrieb Steffen Gebert: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Chris, yes, that's what I said. No minification for JS. That's the whole

Re: [TYPO3-english] Minification for JavaScript files

2012-08-25 Thread Steffen Gebert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's very error prone and there are no good on-the-fly PHP compressors available, which have a fitting license. That's at least my knowledge and that's why we didn't try to implement it. Kind regards Steffen - -- Steffen Gebert TYPO3 v4 Core Team

[TYPO3-english] Minification for JavaScript files

2012-08-24 Thread Thomas Thasmo Deinhamer
Hello, why is there no minifyJs option in TYPO3? It's possible to configure it to send gzip compressed files, and minify CSS, but it's not possible to minify JS. Any reason for this? Thanks and regards, Thomas ___ TYPO3-english mailing list