Skip to content

Commit

Permalink
fixed a few doc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed May 8, 2013
1 parent 0cdd4c4 commit fcd92a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Mojo/UserAgent.pm
Expand Up @@ -550,7 +550,7 @@ Mojo::UserAgent - Non-blocking I/O HTTP and WebSocket user agent
say "WebSocket message via JSON: $hash->{msg}";
$tx->finish;
});
$tx->send({json => {msg => 'Hello World!'});
$tx->send({json => {msg => 'Hello World!'}});
});
Mojo::IOLoop->start unless Mojo::IOLoop->is_running;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Controller.pm
Expand Up @@ -848,7 +848,7 @@ will be invoked once all data has been written.
$c->send('I ♥ Mojolicious!');
# Send JSON object as "Text" message
$c->send({json => {test => 'I ♥ Mojolicious!'});
$c->send({json => {test => 'I ♥ Mojolicious!'}});
# Send JSON object as "Binary" message
use Mojo::JSON 'j';
Expand Down
2 changes: 1 addition & 1 deletion lib/Test/Mojo.pm
Expand Up @@ -834,7 +834,7 @@ Send message or frame via WebSocket.
# Send JSON object as "Text" message
$t->websocket_ok('/echo.json')
->send_ok({json => {test => 'I ♥ Mojolicious!'})
->send_ok({json => {test => 'I ♥ Mojolicious!'}})
->message_ok
->json_message_is('/test' => 'I ♥ Mojolicious!')
->finish_ok;
Expand Down

0 comments on commit fcd92a8

Please sign in to comment.