#/bin/sh

# <!-- https://github.com/plotly/plotly.js/blob/master/dist/README.md -->
#wget 'https://cdn.plot.ly/plotly-latest.js'
#wget 'https://cdn.plot.ly/plotly-latest.min.js'
#wget 'https://cdn.plot.ly/plotly-basic-latest.js'
#wget 'https://cdn.plot.ly/plotly-basic-latest.min.js'
wget 'https://cdn.plot.ly/plotly-cartesian-latest.js'
wget 'https://cdn.plot.ly/plotly-cartesian-latest.min.js'
#wget 'https://cdn.plot.ly/plotly-gl2d-latest.js'
#wget 'https://cdn.plot.ly/plotly-gl2d-latest.min.js'

#<!-- https://github.com/gka/chroma.js/blob/master/docs/src/index.md -->
wget 'https://github.com/gka/chroma.js/raw/master/chroma.js'
wget 'https://github.com/gka/chroma.js/raw/master/chroma.min.js'

#<! -- http://bl.ocks.org/syntagmatic/raw/3341641/ -->
#wget 'http://bl.ocks.org/syntagmatic/raw/3341641/render-queue.js'

# Tone,js
#wget 'https://tonejs.github.io/build/Tone.js'
#wget 'https://tonejs.github.io/build/Tone.min.js'

# nginx gzip_static on;
for F in *.js ; do cat $F | gzip -9 > $F.gz ; done
