Skip to content

Commit

Permalink
updated entities.pl example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 12, 2013
1 parent 3249875 commit 5a328eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -4,6 +4,7 @@
- Added binary and text events to Mojo::Transaction::WebSocket.
- Added json_message_is method to Test::Mojo.
- Added j function to Mojo::JSON.
- Updated a few example scripts.
- Improved documentation.
- Improved tests.
- Fixed aliasing bug in Mojo::EventEmitter.
Expand Down
4 changes: 2 additions & 2 deletions examples/entities.pl
Expand Up @@ -6,8 +6,8 @@
use Mojo::UserAgent;

# Extract named character references from HTML5 spec
my $tx
= Mojo::UserAgent->new->get('http://dev.w3.org/html5/spec/single-page.html');
my $tx = Mojo::UserAgent->new->get(
'http://www.w3.org/html/wg/drafts/html/master/single-page.html');
b($_->at('td > code')->text . ' ' . $_->children('td')->[1]->text)->trim->say
for $tx->res->dom('#named-character-references-table tbody > tr')->each;

Expand Down

0 comments on commit 5a328eb

Please sign in to comment.