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
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