jianlinwei / cssmin

Automatically exported from code.google.com/p/cssmin
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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