I've had in my Meteor project handlebar helper:
Handlebars.registerHelper('isEq', function(v1, v2, options){
if(v1 === v2){
return options.fn(this);
}else{
return options.inverse(this);
}
});
But after update to 0.8 and switch from handlebars to spacebars it is not working anymore - I've found in other stackoverflow topic that now I should change Handlebars.registerHelper
to UI.registerHelper
but it is still not working - anyone know how to implement this properly for spacebars?
Deps
error in the console - something like this:Exception from Deps recompute function: Spacebars.call(...)
and many, many lines of weird errors that says nothing to me. – Koslo