Skip to content

Built in JS minifiers

Andrey Taritsyn edited this page Aug 23, 2015 · 2 revisions

JS minifiers are used in HTML and XHTML minifiers for minification of embedded and inline JS code. Be a JS minifier can any class, that implements the IJsMinifier interface.

Douglas Crockford's JS Minifier

CrockfordJsMinifier class implements a simple JS minifier based on the Douglas Crockford's JSMin.

Null JS Minifier

If in your HTML/XHTML code is missing embedded or inline JS code, you can use instead of the real JS minifier the stub in the form of NullJsMinifier class. This will allow you to save memory.