Skip to content

Commit

Permalink
fixed Mojo::ByteStream, Mojo::Collection and Mojo::DOM to not be subc…
Browse files Browse the repository at this point in the history
…lasses of Mojo::Base
  • Loading branch information
kraih committed Jan 8, 2012
1 parent 45203be commit 117717d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Changes
Expand Up @@ -2,6 +2,8 @@ This file documents the revision history for Perl extension Mojolicious.

2.44 2012-01-09 00:00:00
- Improved documentation.
- Fixed Mojo::ByteStream, Mojo::Collection and Mojo::DOM to not be
subclasses of Mojo::Base.

2.43 2012-01-08 00:00:00
- Improved most commands with shortcut options.
Expand Down
5 changes: 2 additions & 3 deletions lib/Mojo/ByteStream.pm
@@ -1,5 +1,5 @@
package Mojo::ByteStream;
use Mojo::Base -base;
use Mojo::Base -strict;
use overload '""' => sub { shift->to_string }, fallback => 1;

use Mojo::Collection;
Expand Down Expand Up @@ -115,8 +115,7 @@ manipulation functions in L<Mojo::Util>.
=head1 METHODS
L<Mojo::ByteStream> inherits all methods from L<Mojo::Base> and implements
the following new ones.
L<Mojo::ByteStream> implements the following methods.
=head2 C<new>
Expand Down
5 changes: 2 additions & 3 deletions lib/Mojo/Collection.pm
@@ -1,5 +1,5 @@
package Mojo::Collection;
use Mojo::Base -base;
use Mojo::Base -strict;
use overload
'bool' => sub {1},
'""' => sub { shift->join("\n") },
Expand Down Expand Up @@ -104,8 +104,7 @@ L<Mojo::Collection> is a container for collections.
=head1 METHODS
L<Mojo::Collection> inherits all methods from L<Mojo::Base> and implements
the following new ones.
L<Mojo::Collection> implements the following methods.
=head2 C<new>
Expand Down
5 changes: 2 additions & 3 deletions lib/Mojo/DOM.pm
@@ -1,5 +1,5 @@
package Mojo::DOM;
use Mojo::Base -base;
use Mojo::Base -strict;
use overload
'%{}' => sub { shift->attrs },
'bool' => sub {1},
Expand Down Expand Up @@ -460,8 +460,7 @@ XML detection can be also deactivated with the C<xml> method.
=head1 METHODS
L<Mojo::DOM> inherits all methods from L<Mojo::Base> and implements the
following new ones.
L<Mojo::DOM> implements the following methods.
=head2 C<new>
Expand Down

0 comments on commit 117717d

Please sign in to comment.