Skip to content

Commit

Permalink
use start instead of starting for message in docs. Issue bgrins#8
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrins committed Apr 16, 2014
1 parent 30313f6 commit 4d40b77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ <h3>Calling from a Worker</h3>
printErr<span style="color: #666666">:</span> print
};
postMessage({
<span style="color: #BA2121">&#39;type&#39;</span> <span style="color: #666666">:</span> <span style="color: #BA2121">&#39;starting&#39;</span>,
<span style="color: #BA2121">&#39;type&#39;</span> <span style="color: #666666">:</span> <span style="color: #BA2121">&#39;start&#39;</span>,
<span style="color: #BA2121">&#39;data&#39;</span> <span style="color: #666666">:</span> module.arguments
});
<span style="color: #008000; font-weight: bold">var</span> result <span style="color: #666666">=</span> ffmpeg_run(module);
Expand Down
2 changes: 1 addition & 1 deletion site/code-blocks/example-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
printErr<span style="color: #666666">:</span> print
};
postMessage({
<span style="color: #BA2121">&#39;type&#39;</span> <span style="color: #666666">:</span> <span style="color: #BA2121">&#39;starting&#39;</span>,
<span style="color: #BA2121">&#39;type&#39;</span> <span style="color: #666666">:</span> <span style="color: #BA2121">&#39;start&#39;</span>,
<span style="color: #BA2121">&#39;data&#39;</span> <span style="color: #666666">:</span> module.arguments
});
<span style="color: #008000; font-weight: bold">var</span> result <span style="color: #666666">=</span> ffmpeg_run(module);
Expand Down
2 changes: 1 addition & 1 deletion site/code-blocks/example-2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ onmessage = function(event) {
printErr: print
};
postMessage({
'type' : 'starting',
'type' : 'start',
'data' : module.arguments
});
var result = ffmpeg_run(module);
Expand Down

0 comments on commit 4d40b77

Please sign in to comment.