Fix zooming in interaction.js so it focuses on the point where the mouse cursor is.
[dygraphs.git] / push-to-web.sh
1 #!/bin/bash
2 # This script generates the combined JS file, pushes all content to a web site
3 # and then reverts the combined file.
4 set -x
5 site=$1
6
7 # Produce dygraph-combined.js.
8 ./generate-combined.sh
9
10 # Copy everything to the site.
11 scp tests/*.html tests/*.js tests/*.png $site/tests/ \
12 && \
13 scp dygraph*.js gadget.xml excanvas.js thumbnail.png docs/* $site/
14
15 # Revert changes to dygraph-combined.js
16 git co dygraph-combined.js