Commit af5a7b9
Readding callee check. (#634)
* Render blocks in the parent context and assure a block is passed to
templates that use @partial-block
* Fixed checkstyle errors.
* Readded lazy evaluation.
* Readded inline partial evaluation.
* Added option to turn lazy partial evaluation on and off
* Fix checkstyle errors.
* Revert to original whitespaces
* Revert to original whitespace
* Added tests for lazy partial block evaluation
* Renamed lazy to pre and inverted booleans.
* Fix for issue 5881 parent ced0423 commit af5a7b9
File tree
2 files changed
+29
-1
lines changed- handlebars/src/main/java/com/github/jknack/handlebars/internal
2 files changed
+29
-1
lines changedLines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
126 | 137 | | |
127 | 138 | | |
128 | 139 | | |
| |||
197 | 208 | | |
198 | 209 | | |
199 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
200 | 228 | | |
201 | 229 | | |
202 | 230 | | |
| |||
handlebars/src/main/java/com/github/jknack/handlebars/internal/PartialBlockForwardingTemplate.java
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments