Skip to content

Issue in running in production mode #144

Description

@mailto-kkk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions