You are here

protected function JSqueeze::restoreCc in Minify JS 7

1 call to JSqueeze::restoreCc()
JSqueeze::extractStrings in lib/JSqueeze.php

File

lib/JSqueeze.php, line 1018

Class

JSqueeze

Code

protected function restoreCc(&$s, $lf = true) {
  $lf && ($s = str_replace('@#3', '', $s));
  $s = str_replace('@#1', '@*/', $s);
  $s = str_replace('2#@', '//@', $s);
  $s = str_replace('1#@', '/*@', $s);
  $s = str_replace('##', '#', $s);
}