Skip to content

Commit

Permalink
Fix PHP5.3 compatibility
Browse files Browse the repository at this point in the history
Another ugly workaround...
Fixes #208
  • Loading branch information
matthiasmullie committed Oct 25, 2017
1 parent 73d5304 commit 5d07979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JS.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ protected function extractRegex()
$other->extractStrings('\'"`', "$count-");
$other->stripComments();
$match['before'] = $other->replace($match['before']);
$this->nestedExtracted += $other->extracted;
$minifier->nestedExtracted += $other->extracted;
}

return (isset($match['before']) ? $match['before'] : '').
Expand Down

0 comments on commit 5d07979

Please sign in to comment.