arbk / cssmin

CssMin - A (simple) css minifier with benefits. (exported from Google Code)
http://code.google.com/p/cssmin/
1 stars 1 forks source link

Do not check variable type (boolean) when setting up filters and plugins ("!== false") #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
CssParser::__construct checks with "!== false" if a plugin or filter should get 
used.

I think that this should get changed to not check for the variable type.

This way, using "0" to disable a plugin would behave as expected.

Original issue reported on code.google.com by dhahler@gmail.com on 6 Dec 2012 at 5:32