Putting global template helpers together in Meteor? [SOLVED]


#1

I have several global template helpers, I think it would be nice if I could chain it like normal/local template helpers so I tried this…

Template.registerHelper({
      termSuffix:function(){},
      subjects:function(){},
      date:function(){}
});

But it throws Exception from Tracker recompute function:Error: No such function: termSuffix

I later got the solution from Stack Overflow
How can I put global template helpers together in Meteor?

Just worth sharing


#2

perhaps prefix [SOLVED] to your post title?