--- deliantra/server/ext/widget.ext 2010/01/16 00:08:33 1.27 +++ deliantra/server/ext/widget.ext 2012/10/29 23:56:43 1.29 @@ -13,8 +13,6 @@ # and expects the following exti message types # w_e id @args # widget_call -our $DEBUG = 1; - cf::client->attach ( on_connect => sub { my ($ns) = @_; @@ -162,7 +160,7 @@ # $tl->show; # # $ns->{xxxw} = [$tl, $entry];#d# -# +# # $ws->find ("setup_notebook")->add ($ws->{tab}); # $ws->find ("setup_dialog")->toggle_visibility; } @@ -239,7 +237,6 @@ if (my $ns = shift->{ns}) { return unless $ns->{json_coder};#d# might be gone at destroy time(??) - #d#warn "msg " . $ns->{json_coder}->encode (\@msg) if $DEBUG;#d# $ns->send_packet ("ext " . $ns->{json_coder}->encode (\@msg)); } } @@ -362,7 +359,6 @@ if (my $ns = $self->{ns}) { my @msg = ($type, $self->{id}, @arg); - warn "MSG " . $ns->{json_coder}->encode (\@msg) if $DEBUG;#d# $ns->send_packet ("ext " . $ns->{json_coder}->encode (\@msg)); } }