181 Commits (012028b0bcb1db40585a996a57b1da3ed7415a1f)
 

Author SHA1 Message Date
Tom Alexander 012028b0bc
Integrate the dustjs official helpers into the test framework. 4 years ago
Tom Alexander f9212d1fe4
Merge branch 'blocks' into render 4 years ago
Tom Alexander 55f816b53f
Finished implementing Named blocks and inline partials. 4 years ago
Tom Alexander 403f9e6530
Implement a recursive get_block. 4 years ago
Tom Alexander 6837fba489
Passing the block tree through the render functions. 4 years ago
Tom Alexander 9a33195c42
Generating the new treeX 4 years ago
Tom Alexander d2904913ad
I think I have the full extraction code. 4 years ago
Tom Alexander ae74ce411a
Getting down to the extract_inline_partials_from_tag function. 4 years ago
Tom Alexander 97e806a968
Start of structure for extracting inline partials from a template. 4 years ago
Tom Alexander 12d8b58961
Added a block inverse register order to test to prove that partial hierarchy matters. 4 years ago
Tom Alexander 5e3b71602f
Seems inline partials do not bubble up to higher templates. 4 years ago
Tom Alexander ec0edac607
Explicitly sort the non-main templates.
We will need this to deterministicly determine if the inline partials are registered in the order that the templates are parsed or the order that the templates are rendered.
4 years ago
Tom Alexander 9a0b28d80d
Adding more tests. 4 years ago
Tom Alexander d93602d686
Add another testing proving that inline partials can occur before the block definition. 4 years ago
Tom Alexander 353a04064e
Adding findings to the README. 4 years ago
Tom Alexander c09bedd94b
Starting a test for blocks and inline partials. 4 years ago
Tom Alexander afda9ce22f
Merge branch 'partial' into render 4 years ago
Tom Alexander 97fbde6304
Add a test for partials referencing paths. 4 years ago
Tom Alexander df9ebaf0e0
Merge branch 'bug_partial_parse' into partial 4 years ago
Tom Alexander 2a9657e3d5
Turns out the issue was the trailing space on the parameters. 4 years ago
Tom Alexander 369fbaf579
works fine with one parameter. 4 years ago
Tom Alexander 710785139a
Works fine with the partial but without parameters. 4 years ago
Tom Alexander 569b4594be
works fine without the partial. 4 years ago
Tom Alexander bb3449467a
Running into an error parsing one of the partial test templates. 4 years ago
Tom Alexander bbb9b8d9d3
Partial simple is working. 4 years ago
Tom Alexander ad498abb74
Merge branch 'rework_errors' into partial 4 years ago
Tom Alexander 98a0145760
Adding a comment. 4 years ago
Tom Alexander 5d7c991bf0
Simplified the RenderError class. 4 years ago
Tom Alexander 05b56e83a9
Finished creating WalkError. 4 years ago
Tom Alexander f2f6404017
Compiles again. 4 years ago
Tom Alexander d758a71fb4
Ported the get_loop_elements wrapper. 4 years ago
Tom Alexander 2712126b3c
Need to do loop elements. 4 years ago
Tom Alexander fcb2f3fc4d
Going extreme: removing all fields and unifying all walk errors. 4 years ago
Tom Alexander b20368c586
Starting to create a WalkError type for walking that will not bubble up. 4 years ago
Tom Alexander 7d63d6ef7b
Merge Cant and Wont Walk. 4 years ago
Tom Alexander 2108f5cace
Remove CantRender, it was unused. 4 years ago
Tom Alexander efd103b84a
Running into a lifetime issue 4 years ago
Tom Alexander 2f515e068d
Implemented the renderer logic.
I should just need to implement ContextElement at this point.
4 years ago
Tom Alexander b45448edbd
Moved ParametersContext to its own file. 4 years ago
Tom Alexander 1a6db195cb
Starting a context for partial parameters. 4 years ago
Tom Alexander f240b877b8
Start of rendering partials. 4 years ago
Tom Alexander ec321a17ca
Adding a v0 to partial_jump_around_one to prove that the partial parameters are inserted 1 level above the current context. 4 years ago
Tom Alexander 50c03b4f0f
Expanding the partial jump around tests. 4 years ago
Tom Alexander f47b91f8e7
Starting a more complicated test for partials to investigate scoping. 4 years ago
Tom Alexander 7087157ed3
Add partial test for walking up context vs parameters 4 years ago
Tom Alexander 0fcb70927c
Add an initial test of partial parameters 4 years ago
Tom Alexander 467a810569
Merge branch 'exists' into render 4 years ago
Tom Alexander dedfa79630
Do a truthiness check on references before printing them. 4 years ago
Tom Alexander b45688351e
Rendering a reference appears to do a truthiness check because false renders an empty string despite rendering as "false" in an array element. 4 years ago
Tom Alexander 0f47000a9b
Add support for the exists tag. 4 years ago