Skip to content

Function like dust.helpers.tap would be very helpful inside functions declared in context #147

mou opened this Issue Sep 14, 2012 · 1 comment

2 participants

mou commented Sep 14, 2012

For example if i declare context like

  "helper": function (chunk, context, bodies, params) {
   // Here i would like to not reference to global scope
     chunk.write(dust.helpers.tap(params['myParam'], cunk, context);

I can't find another solution other then reference to helper from my function, because it's work and realy complicated to copy and paste.

vybs commented Sep 23, 2012

tap internally uses chunk.render ( any reason we cannot use chunk.render here?)


We now have the linkedin helpers repo

It would be convenient to have all the discussions related to helpers in that repo.

thanks in advance

@vybs vybs closed this Sep 23, 2012
@vybs vybs reopened this Sep 23, 2012
@vybs vybs closed this Apr 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.