diff options
author | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2007-11-26 20:44:56 +0000 |
---|---|---|
committer | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2007-11-26 20:44:56 +0000 |
commit | d7b00a506917b0fc21c7781985ea65293870fbbc (patch) | |
tree | 2bcd17522d61e41245715c8bdc864c8c112f49b1 /lib/Reaction/UI/RenderingContext | |
parent | f2fef590a7283ea919bdaa51bac9d433e8785a09 (diff) | |
download | reaction-d7b00a506917b0fc21c7781985ea65293870fbbc.tar.gz reaction-d7b00a506917b0fc21c7781985ea65293870fbbc.zip |
ObjectView converted
Diffstat (limited to 'lib/Reaction/UI/RenderingContext')
-rw-r--r-- | lib/Reaction/UI/RenderingContext/TT.pm | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/Reaction/UI/RenderingContext/TT.pm b/lib/Reaction/UI/RenderingContext/TT.pm index e925ff6..8308c0c 100644 --- a/lib/Reaction/UI/RenderingContext/TT.pm +++ b/lib/Reaction/UI/RenderingContext/TT.pm @@ -62,21 +62,6 @@ class TT is RenderingContext, which { } grep { !/^_/ } keys %$args }; - # if there's an _ key that's our current topic (decalarative syntax - # sees $_ as $_{_}) so build an iterator around it. - - # There's possibly a case for making everything an iterator but I think - # any fragment should only have a single multiple arg - - # we also create a 'pos' shortcut to content.pos for brevity - - if (my $topic = $args->{_}) { - my $iter = $self->iter_class->new( - $topic, $self - ); - $tt_args->{content} = $iter; - $tt_args->{pos} = sub { $iter->pos }; - } $body .= $lset->tt_view->include($fname, $tt_args); #warn "rendered ${fname}, body length now ".length($body)."\n"; }; |