Compare commits

...

2 Commits

Author SHA1 Message Date
Ask Bjørn Hansen
698fc48b58 Compatibility with Mojolicious 1.3+ 2011-06-07 17:38:10 -07:00
Ask Bjørn Hansen
49075ebe44 v1.12 2011-02-28 00:45:24 -08:00
3 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
Revision history for MojoX-Renderer-TT
{{$NEXT}}
- Compatibility with Mojolicious 1.3+
1.12 February 28, 2011
- Inline wrappers and includes now work on Windows
(GH#13, Christiaan Kras)

View File

@@ -6,7 +6,7 @@ copyright_holder = Ask Bjørn Hansen
# copyright_year = 2009
[Prereqs]
Mojolicious = 1.01
Mojolicious = 1.3
Template = 2.18
[Prereqs / TestRequires ]

View File

@@ -159,7 +159,7 @@ sub _template_content {
}
# Try DATA section
elsif (my $d = $self->renderer->get_inline_template($self->ctx, $t)) {
elsif (my $d = $self->renderer->get_data_template($self->ctx, $t)) {
return wantarray ? ($d, '', time) : $d;
}