mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
f64b3c1439
commit
97d026fb09
1
library/vendor/JShrink/Minifier.php
vendored
1
library/vendor/JShrink/Minifier.php
vendored
@ -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
|
||||
|
5
library/vendor/JShrink/SOURCE
vendored
5
library/vendor/JShrink/SOURCE
vendored
@ -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…
x
Reference in New Issue
Block a user