Skip to content

Tags: n054/minify

Tags

1.3.24

Toggle 1.3.24's commit message
Add gzip method

Fixed matthiasmullie#47

1.3.23

Toggle 1.3.23's commit message
Don't convert standalone arrays

"return" looks like it could be a variable of which ['x']
is a key. I've improved the code to also check for keywords.
If whatever preceeds it is one of the keywords, don't convert.

Fixes issue matthiasmullie#44

1.3.22

Toggle 1.3.22's commit message
Empty strings should be extracted after all

The extraction routine needs to skip that match.
However, it doesn't need a placeholder value.

1.3.21

Toggle 1.3.21's commit message
Fix recursive relative path resolving

I had to split the action of minification into a separate
method because recursively importing files requires them
to also be minified, and I don't want that one to write
to a file.

1.3.20

Toggle 1.3.20's commit message
Make comments-regex quantifiers posessive

Was prone to hit PREG_BACKTRACK_LIMIT_ERROR.
Should also improve performance.

Fixes matthiasmullie#42

1.3.19

Toggle 1.3.19's commit message
Don't strip double semicolons before )

Fixes matthiasmullie#40

1.3.18

Toggle 1.3.18's commit message
Add a newline between scripts being joined

Fixes issue matthiasmullie#35

1.3.17

Toggle 1.3.17's commit message
Improve string extraction

Test to check if ending string delimiter is escaped was flawed.

1.3.16

Toggle 1.3.16's commit message
Don't strip whitespace after ++ or --

1.3.15

Toggle 1.3.15's commit message
In PHP5.3, closures have no notion of where they're run at

So static:: (just like $this) won't work either.