update minified javascripts

This commit is contained in:
Zach Prezkuta 2013-02-04 18:16:13 -07:00
parent bde68bd8ca
commit 0e67ba2bd4
6 changed files with 28 additions and 11 deletions

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long