From: Dan Vanderkam Date: Mon, 22 Jul 2013 20:59:34 +0000 (-0400) Subject: stricter types X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=4f50672fff78a3868980a2bf4c27e5868e4051fb;p=dygraphs.git stricter types --- 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. */