Update JShrink to version 1.0.1

refs #6165
refs #6166
This commit is contained in:
Eric Lippmann 2014-11-14 11:58:45 +01:00
parent f64b3c1439
commit 97d026fb09
2 changed files with 5 additions and 1 deletions

View File

@ -155,6 +155,7 @@ class Minifier
{
$this->options = array_merge(static::$defaultOptions, $options);
$js = str_replace("\r\n", "\n", $js);
$js = str_replace('/**/', '', $js);
$this->input = str_replace("\r", "\n", $js);
// We add a newline to the end of the script to make it easier to deal

View File

@ -1 +1,4 @@
https://github.com/tedivm/JShrink/releases/tag/v1.0.0
curl https://codeload.github.com/tedious/JShrink/tar.gz/v1.0.1 -o JShrink-1.0.1.tar.gz
tar xzf JShrink-1.0.1.tar.gz --strip-components 1 JShrink-1.0.1/LICENSE
tar xzf JShrink-1.0.1.tar.gz --strip-components 3 JShrink-1.0.1/src/JShrink/Minifier.php
rm JShrink-1.0.1.tar.gz