Closed prasadKodeInCloud closed 9 years ago
We did something similar. Check here: https://github.com/meteorhacks/zones/blob/master/assets/utils.js#L221
Thanks for the reference. Checked with Zone code and issue was fixed adding these lines to method 1.
var result = helperFunc.apply( Template[ tmpName ], arguments );
return result;
I tried 3 different ways to override the template helpers to include console.log inside the function. Meteor version 0.8.1.3
Method 1 - Did not work at all.
Method 2 -Using Eval - Cannot access the variables defined in outside
Method 3 - Didnt work