Skip to content

Commit

Permalink
documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 21, 2012
1 parent 77625e0 commit e58224a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 20 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@

2.97 2012-05-21
- Improved documentation.

2.96 2012-05-21
- Added merge method to Mojo::Path.
- Improved documentation.
Expand Down
20 changes: 5 additions & 15 deletions lib/Mojo/DOM/HTML.pm
Expand Up @@ -341,22 +341,12 @@ sub _start {
elsif ($start eq 'optgroup') { $self->_end('optgroup', $current) }

# "<option>"
elsif ($start ~~ [qw(option optgroup)]) {
$self->_end('option', $current);
$self->_end('optgroup', $current) if $start eq 'optgroup';
}

# "<colgroup>"
elsif ($start eq 'colgroup') { $self->_close($current) }

# "<thead>"
elsif ($start eq 'thead') { $self->_close($current) }
elsif ($start eq 'option') { $self->_end('option', $current) }

# "<tbody>"
elsif ($start eq 'tbody') { $self->_close($current) }

# "<tfoot>"
elsif ($start eq 'tfoot') { $self->_close($current) }
# "<colgroup>", "<thead>", "tbody" and "tfoot"
elsif ($start ~~ [qw(colgroup thead tbody tfoot)]) {
$self->_close($current);
}

# "<tr>"
elsif ($start eq 'tr') { $self->_close($current, {tr => 1}) }
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojo/IOLoop.pm
Expand Up @@ -519,8 +519,8 @@ amount of time in seconds.
Mojo::IOLoop->remove($id);
$loop->remove($id);
Remove anything with an id. Connections will be dropped gracefully by
allowing them to finish writing all data in their write buffers.
Remove anything with an id, connections will be dropped gracefully by allowing
them to finish writing all data in their write buffers.
=head2 C<server>
Expand Down Expand Up @@ -564,8 +564,8 @@ watched anymore.
Mojo::IOLoop->stop;
$loop->stop;
Stop the loop immediately, this will not interrupt any existing connections
and the loop can be restarted by running C<start> again.
Stop the loop, this will not interrupt any existing connections and the loop
can be restarted by running C<start> again.
=head2 C<stream>
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -34,7 +34,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Leaf Fluttering In Wind';
our $VERSION = '2.96';
our $VERSION = '2.97';

# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
Expand Down

0 comments on commit e58224a

Please sign in to comment.