Skip to content

Commit

Permalink
add example for instanciate wait mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hadrienj committed Jun 7, 2016
1 parent 4c897b9 commit d0ebdc8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0ebdc8

Please sign in to comment.