parent
f64b3c1439
commit
97d026fb09
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue