update minified javascripts
This commit is contained in:
parent
bde68bd8ca
commit
0e67ba2bd4
6 changed files with 28 additions and 11 deletions
2
js/main.min.js
vendored
2
js/main.min.js
vendored
File diff suppressed because one or more lines are too long
7
library/colorbox/jquery.colorbox-min.js
vendored
7
library/colorbox/jquery.colorbox-min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -22,11 +22,33 @@ JSFILES=(
|
||||||
"view/theme/frost-mobile/js/theme.js"
|
"view/theme/frost-mobile/js/theme.js"
|
||||||
"view/theme/decaf-mobile/js/theme.js"
|
"view/theme/decaf-mobile/js/theme.js"
|
||||||
)
|
)
|
||||||
|
JSFILES2=(
|
||||||
|
"library/colorbox/jquery.colorbox.js"
|
||||||
|
)
|
||||||
|
JSFILES3=(
|
||||||
|
"library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js"
|
||||||
|
)
|
||||||
|
|
||||||
for i in ${JSFILES[@]}
|
for i in ${JSFILES[@]}
|
||||||
do
|
do
|
||||||
echo "Processing $i"
|
|
||||||
MINFILE=${i%%.js}.min.js
|
MINFILE=${i%%.js}.min.js
|
||||||
|
echo "Minifying $i into $MINFILE"
|
||||||
|
rm $MINFILE
|
||||||
|
$MINIFY_CMD -o $MINFILE $i
|
||||||
|
done
|
||||||
|
|
||||||
|
for i in ${JSFILES2[@]}
|
||||||
|
do
|
||||||
|
MINFILE=${i%%.js}-min.js
|
||||||
|
echo "Minifying $i into $MINFILE"
|
||||||
|
rm $MINFILE
|
||||||
|
$MINIFY_CMD -o $MINFILE $i
|
||||||
|
done
|
||||||
|
|
||||||
|
for i in ${JSFILES3[@]}
|
||||||
|
do
|
||||||
|
MINFILE=${i%%_src.js}.js
|
||||||
|
echo "Minifying $i into $MINFILE"
|
||||||
rm $MINFILE
|
rm $MINFILE
|
||||||
$MINIFY_CMD -o $MINFILE $i
|
$MINIFY_CMD -o $MINFILE $i
|
||||||
done
|
done
|
||||||
|
|
2
view/theme/frost/js/main.min.js
vendored
2
view/theme/frost/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
2
view/theme/frost/js/theme.min.js
vendored
2
view/theme/frost/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue