protected function Minifier::minifyDirectToOutput in Advanced CSS/JS Aggregation 8.4
Same name and namespace in other branches
- 8.2 advagg_js_minify/jshrink.inc \JShrink\Minifier::minifyDirectToOutput()
- 8.3 advagg_js_minify/jshrink.inc \JShrink\Minifier::minifyDirectToOutput()
- 7.2 advagg_js_compress/jshrink.inc \JShrink\Minifier::minifyDirectToOutput()
Processes a javascript string and outputs only the required characters, stripping out all unneeded characters.
Parameters
string $js The raw javascript to be minified:
array $options Various runtime options in an associative array:
File
- advagg_js_minify/
jshrink.inc, line 183
Class
- Minifier
- Minifier
Namespace
JShrinkCode
protected function minifyDirectToOutput($js, $options) {
$this
->initialize($js, $options);
$this
->loop();
$this
->clean();
}