tags:

views:

41

answers:

1

I have a Jade template that needs to call a helper, but not display its output:

// views/foo.html.jade:
p
  Some content...
#{ someHelperSetterMethod('bar'); }

Unfortunately, since someHelperSetterMethod returns nothing, I get "undefined" output in my template. Is there a way to do non-outputting evaluation?

+1  A: 
p
  some content
- someHelperSetterMethod('bar')
bxjx