yourhead / s3

public info about s3
8 stars 7 forks source link

templates fail to replace some math values #737

Closed yourhead closed 7 years ago

yourhead commented 7 years ago

complex set of requirements

yourhead commented 7 years ago

Requirements:

creating the same stack from the library works other types of values work templates in html work

yourhead commented 7 years ago

more interesting things:

yourhead commented 7 years ago

the issue is that there is no initial call to populate. in this particular path the population is lazy. the default value for a math property relies on the first population. the first population does occur before the inner content is rendered. this happens at the first call to fetch the template. this happens just below the call to render the css. moving the template fetch in front of the css render ensures there will always be at least one populate before the first css render.

yourhead commented 7 years ago

in beta 21