/[Frey]/trunk/lib/Frey/Web/Button.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Web/Button.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 144 by dpavlin, Wed Jul 16 14:12:43 2008 UTC revision 145 by dpavlin, Wed Jul 16 21:19:53 2008 UTC
# Line 20  use Data::Dump qw/dump/; Line 20  use Data::Dump qw/dump/;
20  use Moose::Role;  use Moose::Role;
21    
22  # List of callbacks, buttons for now  # List of callbacks, buttons for now
23  has callback => ( is => 'rw', isa => 'HashRef', default => sub {{}} );  has callback => ( is => 'rw', isa => 'HashRef[CodeRef]', default => sub {{}} );
24  has callback_order => ( is => 'rw', isa => 'ArrayRef', default => sub { [] });  has callback_order => ( is => 'rw', isa => 'ArrayRef', default => sub { [] });
25    
26  sub add_button {  sub add_button {

Legend:
Removed from v.144  
changed lines
  Added in v.145

  ViewVC Help
Powered by ViewVC 1.1.26