From de66a997ffc170969196319aa67048ccc7346f36 Mon Sep 17 00:00:00 2001 From: Mike H Hawley Date: Sun, 16 Mar 2014 21:39:24 +0300 Subject: [PATCH 1/2] smoothie: fix streamTo signature --- smoothie/smoothie.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smoothie/smoothie.d.ts b/smoothie/smoothie.d.ts index 6267c6e3e1..cc0b82d383 100644 --- a/smoothie/smoothie.d.ts +++ b/smoothie/smoothie.d.ts @@ -162,10 +162,10 @@ declare module "smoothie" * Instructs the SmoothieChart to start rendering to the provided canvas, with specified delay. * * @param canvas the target canvas element - * @param delayMillis an amount of time to wait before a data point is shown. This can prevent the end of the series + * @param [delayMillis] an amount of time to wait before a data point is shown. This can prevent the end of the series * from appearing on screen, with new values flashing into view, at the expense of some latency. */ - streamTo(canvas: HTMLCanvasElement, delayMillis: number): void; + streamTo(canvas: HTMLCanvasElement, delayMillis?: number): void; /** * Starts the animation of this chart. Called by streamTo. From 0ad019b0067a263ab6c85f38df22b48b9d1c90e5 Mon Sep 17 00:00:00 2001 From: Mike H Hawley Date: Mon, 17 Mar 2014 17:53:12 +0300 Subject: [PATCH 2/2] smoothie: fix streamTo comment --- smoothie/smoothie.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smoothie/smoothie.d.ts b/smoothie/smoothie.d.ts index cc0b82d383..3353c3dbfe 100644 --- a/smoothie/smoothie.d.ts +++ b/smoothie/smoothie.d.ts @@ -162,7 +162,7 @@ declare module "smoothie" * Instructs the SmoothieChart to start rendering to the provided canvas, with specified delay. * * @param canvas the target canvas element - * @param [delayMillis] an amount of time to wait before a data point is shown. This can prevent the end of the series + * @param delayMillis an amount of time to wait before a data point is shown. This can prevent the end of the series * from appearing on screen, with new values flashing into view, at the expense of some latency. */ streamTo(canvas: HTMLCanvasElement, delayMillis?: number): void;