duster/src/renderer
Tom Alexander f04e84dc31
Attempted to move section over to the section-specific new breadcrumbs function.
I think the problem is, the index context needs to be a higher priority than the new context element, but when referencing data with `{.}` the new context element needs to take priority. I could either combine entries in the context tree so that variables like $idx and $len live side-by-side with real context elements, or try to implement a way to skip over index context elements when walking up the tree.
2020-05-25 23:28:49 -04:00
..
context_element.rs Switch the get_loop_elements implementation to only return populated arrays when its an array-like object. 2020-05-24 16:27:13 -04:00
errors.rs Implemented the json stringify and parse filters. 2020-05-23 18:14:23 -04:00
inline_partial_tree.rs I did it backwards, I needed to use the explicit context from the block, not the inline partial. 2020-05-25 19:24:49 -04:00
iteration_context.rs Switch the renderer over to using the new is_truthy value and add the injection of $idx and $len into the context tree. 2020-05-24 16:57:24 -04:00
mod.rs Add a new trait to ContextElement for Truthiness. 2020-05-24 16:16:43 -04:00
parameters_context.rs Switch the get_loop_elements implementation to only return populated arrays when its an array-like object. 2020-05-24 16:27:13 -04:00
renderer.rs Attempted to move section over to the section-specific new breadcrumbs function. 2020-05-25 23:28:49 -04:00
walking.rs Add tests for explicit context setting that check failure conditions and implement a helper function to generate a new breadcrumb stack. 2020-05-25 15:40:42 -04:00