Add JSHint and make dygraphs pass its checks.
[dygraphs.git] / push-to-web.sh
index c41fd42..ff12e57 100755 (executable)
@@ -9,11 +9,12 @@ site=$1
 
 # Generate documentation.
 ./generate-documentation.py > docs/options.html
+./generate-jsdoc.sh
 
 # Copy everything to the site.
-scp tests/*.html tests/*.js tests/*.png $site/tests/ \
+scp -r tests jsdoc $site \
 && \
-scp dygraph*.js gadget.xml excanvas.js flashcanvas.* thumbnail.png screenshot.png docs/* $site/
+scp dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/* $site/
 
 # Revert changes to dygraph-combined.js and docs/options.html
 git checkout dygraph-combined.js