You are here

protected function JSqueeze::renameInString in Advanced CSS/JS Aggregation 8.2

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jsqueeze.inc \Patchwork\JSqueeze::renameInString()
  2. 8.3 advagg_js_minify/jsqueeze.inc \Patchwork\JSqueeze::renameInString()

File

advagg_js_minify/jsqueeze.inc, line 912

Class

JSqueeze

Namespace

Patchwork

Code

protected function renameInString($a) {
  $b =& $this->strings[$a[0]];
  unset($this->strings[$a[0]]);
  return preg_replace_callback("#[.,{]?(?<![a-zA-Z0-9_\$@]){$this->specialVarRx}:?#", array(
    &$this,
    'getNewName',
  ), $b);
}