Compatibility with Mojolicious 1.3+
This commit is contained in:
1
Changes
1
Changes
@@ -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
|
||||
|
||||
2
dist.ini
2
dist.ini
@@ -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 ]
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user