Skip to content

Tags: xerc/minify

Tags

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.

1.3.14

Toggle 1.3.14's commit message
Remove some chars from palceholder text

Should speed up next regexes, a few less chars

1.3.13

Toggle 1.3.13's commit message
Fix propertyNotation

I originally executed this on content where string had not yet been replaced.
Because this could cause false positives and match content inside strings, I
switched it to be executed after strings had been extracted.

However, this means those array key texts were also replaced, by something that
always looks like a valid variable. I've now moved that check to match the
extracted value, which we'll be replacing.

1.3.12

Toggle 1.3.12's commit message
Fix issue 26

1.3.11

Toggle 1.3.11's commit message
Drastically speed up replacements by remembering next match offsets

1.3.10

Toggle 1.3.10's commit message
Limit what zeroes can be truncated

1.3.9

Toggle 1.3.9's commit message
Improve zero-value shortening

Fixes issue matthiasmullie#24

1.3.8

Toggle 1.3.8's commit message
Shorten zero-values

1.3.7

Toggle 1.3.7's commit message
Don't assume paths are set

Both from and/or to can be nothing (when fed plain content
instead of reading from a file, or when just returning content
instead of writing to new file)

In those cases, realpath() wouldn't make sense and would just
return the `pwd`, converting paths relative to whatever PHP
script is running.