зеркало из https://github.com/mozilla/pjs.git
fix the non-compiled case
This commit is contained in:
Родитель
c6832d13ea
Коммит
e6cf46a242
|
@ -78,7 +78,7 @@ sub expand {
|
||||||
$CACHE{$args->{'name'}} = $document;
|
$CACHE{$args->{'name'}} = $document;
|
||||||
} else { # $type eq 'TemplateToolkit'
|
} else { # $type eq 'TemplateToolkit'
|
||||||
# what we have is a raw string
|
# what we have is a raw string
|
||||||
$document = \{$args->{'string'}};
|
$document = \$args->{'string'};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# $self->{template}->context()->{'__PLIF__output'} = $args->{'output'}; # unused (it's a handle to the dataSource.strings service but we look one up instead of using it directly)
|
# $self->{template}->context()->{'__PLIF__output'} = $args->{'output'}; # unused (it's a handle to the dataSource.strings service but we look one up instead of using it directly)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче