You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When brackets are changed after one expression is compiled, the compiled expression remains in the cache:
riot.util.brackets.set('{{ }}')
riot.util.tmpl('{{ x }} and { x }', { x: 2 }) // returns "2 and { x }"
riot.util.brackets.set(null) // reset brackets to '{ }'
riot.util.tmpl('{{ x }} and { x }', { x: 2 }) // fail, expression is in cache with '{{ }}'
There's no workaround.
The text was updated successfully, but these errors were encountered:
When brackets are changed after one expression is compiled, the compiled expression remains in the cache:
There's no workaround.
The text was updated successfully, but these errors were encountered: