From d0ebdc82b405b9e1de6537dc158be3b79ca8069e Mon Sep 17 00:00:00 2001 From: hadrienj Date: Mon, 6 Jun 2016 23:16:34 -0700 Subject: [PATCH] add example for instanciate wait mode --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/readme.md b/readme.md index d5925f9..3166494 100644 --- a/readme.md +++ b/readme.md @@ -89,6 +89,16 @@ stair.get('deltaF'); The x-up y-down procedure can be implemented in two modes. With the `wait` mode, we will wait `y` good answers to increase difficulty and `x` answers to decrease difficulty. +```js +var stair = new Staircase({ + deltaF: { + ... + wait: true, + ... + } +}); +``` + ### `wait` mode ```javascript