Filter & sort magical layouts http://isotope.metafizzy.co
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
262 B

#!/bin/bash
# minifies jquery.isotope.js
# requires nodejs & uglifyjs
JS=jquery.isotope.js
JS_MIN=jquery.isotope.min.js
TMP=$JS_MIN.tmp
uglifyjs $JS > $TMP
echo ';' >> $TMP
sed 's/\*\//&§/g; y/§/\n/;' $TMP > $JS_MIN
rm $TMP
echo "Minified" $JS "as" $JS_MIN