private function JSMinPlus::min in Advanced CSS/JS Aggregation 8.4
Same name and namespace in other branches
- 8.2 advagg_js_minify/jsminplus.inc \JSMinPlus::min()
- 8.3 advagg_js_minify/jsminplus.inc \JSMinPlus::min()
- 6 advagg_js_compress/jsminplus.inc \JSMinPlus::min()
- 7.2 advagg_js_compress/jsminplus.inc \JSMinPlus::min()
- 7 advagg_js_compress/jsminplus.inc \JSMinPlus::min()
File
- advagg_js_minify/
jsminplus.inc, line 277 - JSMinPlus version 1.4
Class
Code
private function min($js, $filename) {
try {
$n = $this->parser
->parse($js, $filename, 1);
return $this
->parseTree($n);
} catch (Exception $e) {
echo $e
->getMessage() . "\n";
}
return false;
}