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
I am including one template within another template by using partials.
For ex,
{>"layouts/master" showMenu="false" /}
In master.dust, I am checking the 'showMenu' flag.
For ex,
{@eq key="{showMenu}" value="false"}
<< some coding part1>>
{:else}
<< some coding part2>>
{/eq}
If I run in development mode, it is fine(Meaning: It is coming to << some coding part1>>).
If I run in production mode, it is not fine(Meaning: It is coming to << some coding part2>>))
I am using
"dustjs-helpers": "1.7.3",
"dustjs-linkedin": "2.6.2",
"kraken-js": "2.0.1",
Hi All,
I am including one template within another template by using partials.
For ex,
{>"layouts/master" showMenu="false" /}
In master.dust, I am checking the 'showMenu' flag.
For ex,
{@eq key="{showMenu}" value="false"}
<< some coding part1>>
{:else}
<< some coding part2>>
{/eq}
If I run in development mode, it is fine(Meaning: It is coming to << some coding part1>>).
If I run in production mode, it is not fine(Meaning: It is coming to << some coding part2>>))
I am using
"dustjs-helpers": "1.7.3",
"dustjs-linkedin": "2.6.2",
"kraken-js": "2.0.1",
Node version :6.9.2
Please share your ideas in resolving this issue.
@sethkinast
The text was updated successfully, but these errors were encountered: