aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/RenderingContext
diff options
context:
space:
mode:
authormatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2007-11-26 20:44:56 +0000
committermatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2007-11-26 20:44:56 +0000
commitd7b00a506917b0fc21c7781985ea65293870fbbc (patch)
tree2bcd17522d61e41245715c8bdc864c8c112f49b1 /lib/Reaction/UI/RenderingContext
parentf2fef590a7283ea919bdaa51bac9d433e8785a09 (diff)
downloadreaction-d7b00a506917b0fc21c7781985ea65293870fbbc.tar.gz
reaction-d7b00a506917b0fc21c7781985ea65293870fbbc.zip
ObjectView converted
Diffstat (limited to 'lib/Reaction/UI/RenderingContext')
-rw-r--r--lib/Reaction/UI/RenderingContext/TT.pm15
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";
};