diff --git a/snippets/recordFrames.md b/snippets/recordFrames.md index 938058ae9..cc158c7b2 100644 --- a/snippets/recordFrames.md +++ b/snippets/recordFrames.md @@ -2,7 +2,7 @@ Invokes the provided callback on each animation frame. -Use recursion. Provided that `running` is `true`, continue invoking `window.requestAnimationFrame()` and invoking the +Use recursion. Provided that `running` is `true`, continue invoking `window.requestAnimationFrame()` which invokes the provided callback. Return an object with two methods `start` and `stop` to allow manual control of the recording. Omit the second argument, `autoStart`, to implicitly call `start` when the function is invoked. ```js