You are here

private function JSMinPlus::min in Javascript Aggregator 6

File

./jsminplus.php, line 209

Class

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