/[Perly]/lib/Perly/View.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 /lib/Perly/View.pm

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

revision 40 by dpavlin, Sat Jun 9 23:18:08 2007 UTC revision 41 by dpavlin, Sun Jun 1 17:31:43 2008 UTC
# Line 5  use warnings; Line 5  use warnings;
5    
6  use Jifty::View::Declare -base;  use Jifty::View::Declare -base;
7    
8    use Perly::SyntaxHighlight;
9  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
10    
11  template '/' => page {  template '/' => page {
# Line 31  private template 'code_list' => sub { Line 32  private template 'code_list' => sub {
32                                  a {                                  a {
33                                          attr { href => '/run/code=' . $code->id, }, 'run'                                          attr { href => '/run/code=' . $code->id, }, 'run'
34                                  },                                  },
35                                  pre { $code->source },                                  outs_raw( Perly::SyntaxHighlight->color( $code->source ) )
36                          }                          }
37                  }                  }
38          }          }

Legend:
Removed from v.40  
changed lines
  Added in v.41

  ViewVC Help
Powered by ViewVC 1.1.26