mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-03 23:43:40 +02:00
updater.sh minify regex
Co-Authored-By: overdodactyl <patjohns1216@gmail.com>
This commit is contained in:
parent
ad5426111c
commit
8a2d5891fe
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ update_userjs () {
|
||||||
remove_comments () {
|
remove_comments () {
|
||||||
from_file=$1
|
from_file=$1
|
||||||
to_file=$2
|
to_file=$2
|
||||||
sed -e 's/^[[:space:]]*\/\/.*$//' -e '/^\/\*/,/\*\//d' -e '/^[[:space:]]*$/d' -e 's/);[[:space:]]\/\/.*/);/' $from_file > $to_file
|
sed -e 's/^[[:space:]]*\/\/.*$//' -e '/^\/\*/,/\*\//d' -e '/^[[:space:]]*$/d' -e 's/);[[:space:]]*\/\/.*/);/' $from_file > $to_file
|
||||||
}
|
}
|
||||||
|
|
||||||
create_diff () {
|
create_diff () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue