Dygraph.LOG_SCALE = 10;
Dygraph.LN_TEN = Math.log(Dygraph.LOG_SCALE);
-/** @private (shut up, jsdoc!) */
+/** @private */
Dygraph.log10 = function(x) {
return Math.log(x) / Dygraph.LN_TEN;
}
}
};
-/** @private (shut up, jsdoc!) */
+/** @private */
Dygraph.prototype.info = function(message) {
this.log(Dygraph.INFO, message);
};
-/** @private (shut up, jsdoc!) */
+/** @private */
Dygraph.prototype.warn = function(message) {
this.log(Dygraph.WARNING, message);
};
-/** @private (shut up, jsdoc!) */
+/** @private */
Dygraph.prototype.error = function(message) {
this.log(Dygraph.ERROR, message);
};
java -jar jsdoc-toolkit/jsrun.jar \
jsdoc-toolkit/app/run.js \
-d=jsdoc -t=jsdoc-toolkit/templates/jsdoc \
- dygraph.js > /tmp/dygraphs-jsdocerrors.txt
+ dygraph.js \
+| tee /tmp/dygraphs-jsdocerrors.txt
-if [ -n /tmp/dygraphs-jsdocerrors.txt ]; then
+if [ -s /tmp/dygraphs-jsdocerrors.txt ]; then
echo Please fix any jsdoc errors/warnings before sending patches.
fi