-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from jstachio/parent_partial_master
Inheritance support #120
- Loading branch information
Showing
9 changed files
with
414 additions
and
88 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
overview: | | ||
Section and End Section tags SHOULD be treated as standalone when | ||
appropriate. | ||
tests: | ||
- name: Standalone Lines | ||
desc: Standalone lines should be removed from the template. | ||
data: { boolean: true } | ||
template: | | ||
| This Is | ||
{{#boolean}}{{^missing}}|{{/missing}}{{/boolean}} | ||
| A Line | ||
expected: | | ||
| This Is | ||
| | ||
| A Line | ||
# eof |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
overview: | | ||
Custom inheritance tests. | ||
tests: | ||
- name: Non block content should not impact standalone blocks | ||
desc: Content inside a parent call that is not block tags should be ignored | ||
data: { } | ||
template: "{{<parent}}ignore{{$ballmer}}\npeaked\n\n:(\n{{/ballmer}}{{/parent}}" | ||
partials: | ||
parent: "{{$ballmer}}peaking{{/ballmer}}" | ||
expected: "peaked\n\n:(\n" | ||
|
||
# eof |