How to use multiple parameters in a handlebar helper with meteor?
I am trying to create a custom helper using Meteor. Following to the doc here: https://github.com/meteor/meteor/wiki/Handlebars I have tried to define my helper as follows: Template.myTemplate.testHelper = function(foo, bar, options) { console.log(foo); console.log(bar); } My template looks like: <template name="myTemplate"> {{#testHelper "value1" "value2"}} {{/testHelper}} </template> Looking at my console output, I expected to see 2 lines of output: value1 value2 However my console looks like: value1 function (data) { // don't create spurious annotations when data is same // as before (or