Skip to content

Commit

Permalink
no need to deprecate methods in experimental modules
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 13, 2011
1 parent 137e151 commit 9bd3e07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
9 changes: 0 additions & 9 deletions lib/Mojo/Transaction/WebSocket.pm
Expand Up @@ -131,15 +131,6 @@ sub is_websocket {1}
sub local_address { shift->handshake->local_address }
sub local_port { shift->handshake->local_port }

# DEPRECATED in Smiling Face With Sunglasses!
sub on_message {
warn <<EOF;
Mojo::Transaction::WebSocket->on_message is DEPRECATED in favor of using
Mojo::Transaction::WebSocket->on!!!
EOF
shift->on(message => shift);
}

sub parse_frame {
my ($self, $buffer) = @_;
warn "PARSING FRAME\n" if DEBUG;
Expand Down
5 changes: 2 additions & 3 deletions t/pod_coverage.t
Expand Up @@ -10,9 +10,8 @@ plan skip_all => 'set TEST_POD to enable this test (developer only!)'

# DEPRECATED in Smiling Face With Sunglasses!
my @sunglasses = (
qw/add_after add_before append inner_xml on_finish on_message on_progress/,
qw/on_read on_request on_resume on_start on_upgrade render_inner/,
qw/replace_inner/
qw/add_after add_before append inner_xml on_finish on_progress on_read/,
qw/on_request on_resume on_start on_upgrade render_inner replace_inner/,
);

# "Marge, I'm going to miss you so much. And it's not just the sex.
Expand Down

0 comments on commit 9bd3e07

Please sign in to comment.