Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Should be able to send partials as tokens #263

Open
thedufer opened this Issue · 0 comments

2 participants

@thedufer

If we can compile tokens into a rendering function, we should be able to pass tokens in for partials as well. Something as simple as "check if partial is an array; compile tokens if it is, compile if it isn't" seems like it would work.

My current work-around is to compile tokens myself, stuff them into my writer's _partialCache, and then not pass partials into the rendering function, but it feels very hacky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.