Skip to content

Commit

Permalink
update API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
higuma committed Jul 29, 2015
1 parent d1a0189 commit 282e942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Load main script from HTML first.
<script src="javascripts/WebAudioRecorder.js"></script>
```

Worker files are loaded on creating an audio recorder object (or changing encoding by `setEncoding()`). You should set worker directory on object constructor (see API reference for detail).
Worker files are loaded on creating an audio recorder object (or changing encoding by `setEncoding()`). You must set worker directory on object constructor (see API reference for detail).

``` javascript
audioRecorder = new WebAudioRecorder(sourceNode, {
Expand Down Expand Up @@ -233,7 +233,7 @@ recorder.onComplete = function(rec, blob) {
};
```

You can also set an event handler from constructor parameter.
You can also set event handlers from constructor parameter.

``` javascript
recorder = new WebAudioRecorder(source, {
Expand Down

0 comments on commit 282e942

Please sign in to comment.