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
If two files have blocks named the same thing, compiling them redeclares the block twice in the output.
Jemplate.templateMap['block'] = function(context) { // I am from bob.tt!
...
Jemplate.templateMap['block'] = function(context) { // I am from cow.tt!
So if you have two files each with a block named 'block', and you render a template that uses that block, you have no idea which one you are going to get! Sadness.
The text was updated successfully, but these errors were encountered:
choroba
added a commit
to choroba/jemplate
that referenced
this issue
Jan 22, 2017
If two files have blocks named the same thing, compiling them redeclares the block twice in the output.
So if you have two files each with a block named 'block', and you render a template that uses that block, you have no idea which one you are going to get! Sadness.
The text was updated successfully, but these errors were encountered: