Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in running in production mode #482

Open
mailto-kkk opened this issue Mar 1, 2017 · 1 comment
Open

Issue in running in production mode #482

mailto-kkk opened this issue Mar 1, 2017 · 1 comment

Comments

@mailto-kkk
Copy link

mailto-kkk commented Mar 1, 2017

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.
@jasisk
@jean-charles Sisk
@aredridel

@tlivings
Copy link
Member

How is showMenu being set?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants