Compact JS code using PHP
This is a simple function to minimize JS code, it's very simple and probably fail with more complex cases. But hey, might be useful for someone for something! We would suggest using JSMin::minify() instead.
Labels: javascript, php