event.offsetX and Y fixed for Firefox in interaction.js
[dygraphs.git] / generate-jsdoc.sh
CommitLineData
cf180220
DV
1#!/bin/bash
2#
3# Generates JSDoc in the /jsdoc dir. Clears any existing jsdoc there.
4
5rm -rf jsdoc
c39e1d93 6echo Generating JSDoc...
cf180220
DV
7java -jar jsdoc-toolkit/jsrun.jar \
8 jsdoc-toolkit/app/run.js \
c39e1d93 9 -d=jsdoc -t=jsdoc-toolkit/templates/jsdoc \
3234efcf
DV
10 dygraph.js \
11| tee /tmp/dygraphs-jsdocerrors.txt
c39e1d93 12
3234efcf 13if [ -s /tmp/dygraphs-jsdocerrors.txt ]; then
c39e1d93
DV
14 echo Please fix any jsdoc errors/warnings before sending patches.
15fi
16
17echo Done