#!/bin/sh
wget -q -N https://raw.githubusercontent.com/mrdoob/three.js/master/build/three.js
# closure-compiler  --charset 'utf-8' --js three.js --js_output_file three.min.js # throws errors
# yui-compressor three.js > three.min.js # trows errors
uglifyjs three.js > three.min.js
wget -q -N https://raw.githubusercontent.com/mrdoob/three.js/master/LICENSE
echo README

