I've defined a template helper in Meteor, say
Template.postsList.helpers({
filteredPosts: function getPosts() {
return Posts.find(...);
}
});
How can I debug that template helper from the console, and how can I reuse it from other code in the app?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…