Compatibility with Mojolicious 1.3+

This commit is contained in:
Ask Bjørn Hansen
2011-06-07 17:38:10 -07:00
parent 49075ebe44
commit 9056c97e08
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -1,6 +1,7 @@
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
+1 -1
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 ]
+1 -1
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;
}