Same name in other branches
  1. 5.0.x advagg_js_minify/jsminplus.inc \JSMinPlus::min()
  2. 6.0.x advagg_js_minify/jsminplus.inc \JSMinPlus::min()
  3. 7.x-1.x advagg_js_compress/jsminplus.inc \JSMinPlus::min()
  4. 8.x-2.x advagg_js_minify/jsminplus.inc \JSMinPlus::min()
  5. 8.x-3.x advagg_js_minify/jsminplus.inc \JSMinPlus::min()
  6. 8.x-4.x advagg_js_minify/jsminplus.inc \JSMinPlus::min()

Fichier

advagg_js_compress/jsminplus.inc, line 277

Classe

JSMinPlus

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;
}