Jeff-Lewis / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Rewrite all minifiers as non-static #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Current Minify_HTML and others are essentially static classes. Although 
use of the static $className improved the extensibility, there still exist 
static methods that call other static methods and reference static 
properties. This makes subclassing overly complex.

While there is some performance gain in static methods, the minifiers run 
very seldomly, so code usability should be of greater concern.

The public API can still contain the static convenience methods.

Original issue reported on code.google.com by mrclay....@gmail.com on 16 Mar 2009 at 1:53

GoogleCodeExporter commented 9 years ago
Basically done in 2.1.3. More work to do in Issue 124.

Original comment by mrclay....@gmail.com on 1 Jul 2009 at 7:09