-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Allow renderSection() to be called directly (#252)
Refactors AbstractTemplateView slightly so that the parsed template reading code can be called from both render() and renderSection(), causing the template to be loaded correctly. Without this patch it is not possible to call renderSection() via the View's API without getting an error that no parsed template exists. Also adds a public method on TemplateCompiler to reset the current processing state.
- Loading branch information
1 parent
2551139
commit 79ec2af
Showing
2 changed files
with
42 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters