Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more links
  • Loading branch information
kraih committed Feb 11, 2014
1 parent 0c2ac72 commit 269f65a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Changes
@@ -1,4 +1,6 @@

4.80 2014-02-12

4.79 2014-02-11
- Improved not found page to show request information and the exact path
used for route matching.
Expand Down
10 changes: 5 additions & 5 deletions lib/Mojo/Message.pm
Expand Up @@ -482,11 +482,11 @@ Access message cookies. Meant to be overloaded in a subclass.
my $collection = $msg->dom('a[href]');
Turns message body into a L<Mojo::DOM> object and takes an optional selector
to perform a C<find> on it right away, which returns a L<Mojo::Collection>
object. Note that this method caches all data, so it should not be called
before the entire message body has been received. The whole message body needs
to be loaded into memory to parse it, so you have to make sure it is not
excessively large.
to call the method L<Mojo::DOM/"find"> on it right away, which returns a
L<Mojo::Collection> object. Note that this method caches all data, so it
should not be called before the entire message body has been received. The
whole message body needs to be loaded into memory to parse it, so you have to
make sure it is not excessively large.
# Perform "find" right away
say $msg->dom('h1, h2, h3')->text;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -43,7 +43,7 @@ has types => sub { Mojolicious::Types->new };
has validator => sub { Mojolicious::Validator->new };

our $CODENAME = 'Top Hat';
our $VERSION = '4.79';
our $VERSION = '4.80';

sub AUTOLOAD {
my $self = shift;
Expand Down
6 changes: 3 additions & 3 deletions lib/Test/Mojo.pm
Expand Up @@ -575,7 +575,7 @@ arguments as L<Mojo::UserAgent/"delete">, except for the callback.
$t = $t->element_exists('html head title', 'has a title');
Checks for existence of the CSS selectors first matching HTML/XML element with
L<Mojo::DOM>.
L<Mojo::DOM/"at">.
=head2 element_exists_not
Expand Down Expand Up @@ -876,7 +876,7 @@ Opposite of L</"status_is">.
$t = $t->text_is('html head title' => 'Hello!', 'right title');
Checks text content of the CSS selectors first matching HTML/XML element for
exact match with L<Mojo::DOM>.
exact match with L<Mojo::DOM/"at">.
=head2 text_isnt
Expand All @@ -891,7 +891,7 @@ Opposite of L</"text_is">.
$t = $t->text_like('html head title' => qr/Hello/, 'right title');
Checks text content of the CSS selectors first matching HTML/XML element for
similar match with L<Mojo::DOM>.
similar match with L<Mojo::DOM/"at">.
=head2 text_unlike
Expand Down

0 comments on commit 269f65a

Please sign in to comment.