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 tried using {?exists/} as described in http://www.dustjs.com/docs/syntax/ but there isn't any actual example code, so it's not clear how to do it and I couldn't get it working.
Any pointers welcome.
The text was updated successfully, but these errors were encountered:
If I reference a value that is undefined in the current context, I get an unwelcome warning:
e.g., with parent context
And a template "boo.dust"
Invoked as a section:
The second entry, exampleB, gives a warning:
What I need to do is conditionally render a partial like this:
I wrote a helper that works fine in the above example, but it fails if instead of passing the key in the context, I send it as a parameter, e.g.,
FAIL
And a template "boo.dust"
Invoked as a section:
I tried using {?exists/} as described in http://www.dustjs.com/docs/syntax/ but there isn't any actual example code, so it's not clear how to do it and I couldn't get it working.
Any pointers welcome.
The text was updated successfully, but these errors were encountered: