Add JSHint and make dygraphs pass its checks.
[dygraphs.git] / push-to-web.sh
index 7aca0f4..ff12e57 100755 (executable)
@@ -9,9 +9,10 @@ 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 thumbnail.png screenshot.png docs/* $site/