From: Robert Konigsberg Date: Thu, 18 Apr 2013 15:34:18 +0000 (-0400) Subject: Follow-on to pull request 237, closurifying some code. X-Git-Tag: v1.0.0~38^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=34655aba0589dc5f9bdc1f03319d4e7bd9dcfff6;p=dygraphs.git Follow-on to pull request 237, closurifying some code. --- diff --git a/dygraph-canvas.js b/dygraph-canvas.js index ce7fcbf..ef6cf1f 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -440,9 +440,10 @@ DygraphCanvasRenderer.prototype._updatePoints = function() { * DygraphCanvasRenderer._updatePoints. * * @param {string=} opt_seriesName when specified, only that series will - * be drawn. (This is used for expedited redrawing with highlightSeriesOpts) - * @param {CanvasRenderingContext2D} opt_ctx when specified, the drawing context. - * However, lines are typically drawn on the object's elementContext. + * be drawn. (This is used for expedited redrawing with highlightSeriesOpts) + * @param {CanvasRenderingContext2D} opt_ctx when specified, the drawing + * context. However, lines are typically drawn on the object's + * elementContext. * @private */ DygraphCanvasRenderer.prototype._renderLineChart = function(opt_seriesName, opt_ctx) { diff --git a/dygraph-options.js b/dygraph-options.js index 879a9e1..0f90086 100644 --- a/dygraph-options.js +++ b/dygraph-options.js @@ -36,7 +36,7 @@ var DygraphOptions = (function() { var DygraphOptions = function(dygraph) { /** * The dygraph. - * @type {Dygraph} + * @type {!Dygraph} */ this.dygraph_ = dygraph; @@ -73,7 +73,7 @@ var DygraphOptions = function(dygraph) { * Not optimal, but does the trick when you're only using two axes. * If we move to more axes, this can just become a function. * - * @type {Object.} + * @type {Object.} * @private */ DygraphOptions.AXIS_STRING_MAPPINGS_ = {