From bb865fe08eb914a4dc32517c4afc8d5a744498f4 Mon Sep 17 00:00:00 2001 From: Chiunhau You Date: Wed, 27 Dec 2017 20:27:32 +0800 Subject: [PATCH] Fix broken example in /src/scheduler/animationFrame.ts. --- src/scheduler/animationFrame.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scheduler/animationFrame.ts b/src/scheduler/animationFrame.ts index 7acf6be549..4329a8f264 100644 --- a/src/scheduler/animationFrame.ts +++ b/src/scheduler/animationFrame.ts @@ -17,7 +17,7 @@ import { AnimationFrameScheduler } from './AnimationFrameScheduler'; * @example Schedule div height animation * const div = document.querySelector('.some-div'); * - * Rx.Scheduler.schedule(function(height) { + * Rx.Scheduler.animationFrame.schedule(function(height) { * div.style.height = height + "px"; * * this.schedule(height + 1); // `this` references currently executing Action,