Matthias Mullie
cf9e90ba4a
Use PSR4 autoloader; move code to src/
2014-10-09 08:38:58 +02:00
Matthias Mullie
76734ac3f7
Add PHPUnit dist file, move test files around
2014-10-08 16:34:49 +02:00
Matthias Mullie
36b9b3b543
Fix \-as-division from being interpreted as regex
...
Fixes issue #14
2014-10-08 10:54:11 +02:00
Matthias Mullie
3750e33d49
Add tests for issue #15
2014-10-08 10:20:42 +02:00
Matthias Mullie
3135b0fcb2
Other approach: don't add semicolons, just keep newline when in doubt
2014-10-08 09:57:41 +02:00
Matthias Mullie
9fa994fda6
Add comma as operator
2014-10-07 19:49:16 +02:00
Matthias Mullie
6a864c8c7c
Major JS minifier rewrite
2014-10-07 18:21:22 +02:00
Matthias Mullie
b711882b23
Some more improvements
2013-12-27 02:12:53 +01:00
Matthias Mullie
30797d8420
Improved JS minifier
...
Meanwhile also (somewhat forced by improving JS minifier) removed minifier
options. They were kind of useless anyway, though; why would one not minify
completely :)
2013-12-27 00:00:46 +01:00
Matthias Mullie
b9a11ae3a6
More advanced whitespace stripping
...
Should now accurately strip newlines and add ; line-terminators where needed.
Meanwhile also introduced Minify\JS::STRIP_SEMICOLONS to strip redundant
semicolons.
2013-12-26 20:40:20 +01:00
Matthias Mullie
1ea4573dc0
Escaped quote should not terminate string
2013-12-26 20:40:20 +01:00
Matthias Mullie
5a98aab7b7
Fix https://github.com/matthiasmullie/minify/issues/11
...
Meanwhile, fix some whitespace
2013-12-01 23:48:06 +01:00
Matthias Mullie
4d6a3c8483
Serious (JS) code refactor
...
Meanwhile fixed issue https://github.com/matthiasmullie/minify/issues/10
2013-12-01 23:25:54 +01:00
Matthias Mullie
1cd2718da4
Fix whitespace; spaces instead of tabs
2013-04-22 10:19:35 +02:00
Matthias Mullie
5ff011d577
Add test for double backslash CSS
...
Issue was reported at https://github.com/forkcms/forkcms/issues/387
2013-04-22 10:16:03 +02:00
Matthias Mullie
622b021aaf
Better function name in tests
2013-04-15 14:37:31 +02:00
Matthias Mullie
22b7734582
Fix files' case
2013-04-15 00:00:23 +02:00
Matthias Mullie
9c646aee68
Big 1.1.0 cleanup
...
* PSR-0 & PSR-1
* Add test suite
* Multiple smaller fixes/cleanup
2013-04-14 23:38:24 +02:00