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

Open
mailto-kkk opened this issue Feb 16, 2017 · 0 comments
Open

Issue in running in production mode #144

mailto-kkk opened this issue Feb 16, 2017 · 0 comments

Comments

@mailto-kkk
Copy link

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

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

1 participant