ericmckean / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can't minify Extjs 2.2 files with Minify::serve #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Minify version: 2.1.2
PHP version: 5.2.8

What steps will reproduce the problem?
1. Construct a HTML Page with inlined extjs 2.2 (i.e. ext-all.js or
ext-all-debug.js)
2. Minify::serve('Page', array(
            'content' => $content,
            'id' => 'smarty',
            'encodeOutput' => true,
            'encodeMethod' => 'gzip',
            'quiet' => false,
            'minifyAll' => true,
            'contentType' => Minify::TYPE_HTML
        ))

Expected output: Minified HTML

Actual output: Nothing

Please provide any additional information below.
If I minify the extjs sources by itself with Minify_Javascript::minify,
everything works well, except that it's slow.

Original issue reported on code.google.com by joc...@joschs-robotics.de on 6 Apr 2009 at 7:52

Attachments:

GoogleCodeExporter commented 9 years ago
It seems to have been a matter of setting the correct backtrack_limit.
I had to set it to at least 550,000. Now I get an output.
So this ticket can be closed.

Bye Jochen

Original comment by joc...@joschs-robotics.de on 9 Apr 2009 at 9:35

GoogleCodeExporter commented 9 years ago

Original comment by mrclay....@gmail.com on 21 Apr 2009 at 7:37