From 4f50672fff78a3868980a2bf4c27e5868e4051fb Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Mon, 22 Jul 2013 16:59:34 -0400 Subject: [PATCH] stricter types --- dygraph-canvas.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dygraph-canvas.js b/dygraph-canvas.js index 5a02f2a..496326f 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -27,10 +27,10 @@ * The chart canvas has already been created by the Dygraph object. The * renderer simply gets a drawing context. * - * @param {Dygraph} dygraph The chart to which this renderer belongs. - * @param {HTMLCanvasElement} element The <canvas> DOM element on which to draw. - * @param {CanvasRenderingContext2D} elementContext The drawing context. - * @param {DygraphLayout} layout The chart's DygraphLayout object. + * @param {!Dygraph} dygraph The chart to which this renderer belongs. + * @param {!HTMLCanvasElement} element The <canvas> DOM element on which to draw. + * @param {!CanvasRenderingContext2D} elementContext The drawing context. + * @param {!DygraphLayout} layout The chart's DygraphLayout object. * * TODO(danvk): remove the elementContext property. */ -- 2.7.4