From cba84caa98dd7ee8b2fd4aa5c0f9b4b297d16b79 Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Wed, 19 Oct 2016 22:49:55 +0300 Subject: [PATCH] docs(throttle): fix example code --- src/extra/throttle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extra/throttle.ts b/src/extra/throttle.ts index 3144cbf..a3bdef1 100644 --- a/src/extra/throttle.ts +++ b/src/extra/throttle.ts @@ -70,7 +70,7 @@ class ThrottleOperator implements Operator { * import fromDiagram from 'xstream/extra/fromDiagram' * import throttle from 'xstream/extra/throttle' * - * const stream = fromDiagram(--1-2-----3--4----5|) + * const stream = fromDiagram('--1-2-----3--4----5|') * .compose(throttle(60)) * * stream.addListener({