Skip to content

Commit

Permalink
trim packed script
Browse files Browse the repository at this point in the history
  • Loading branch information
vanry committed Dec 8, 2016
1 parent 54eba6f commit eee9a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JavascriptPacker.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private function _pack($script)
$script = call_user_func(array(&$this, $this->parsers[$i]), $script);
}

return $script;
return trim($script);
}

// add parser
Expand Down

0 comments on commit eee9a0a

Please sign in to comment.