From 34655aba0589dc5f9bdc1f03319d4e7bd9dcfff6 Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Thu, 18 Apr 2013 11:34:18 -0400 Subject: [PATCH] Follow-on to pull request 237, closurifying some code. --- dygraph-canvas.js | 7 ++++--- dygraph-options.js | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) 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_ = { -- 2.7.4