matteodem / meteor-easy-search

Easy-to-use search for Meteor with Blaze Components
MIT License
438 stars 68 forks source link

Exception in template helper: bindDataContext when using getComponentDict() #574

Closed talalav closed 7 years ago

talalav commented 7 years ago

Hello Matteo! I just copied code from your recipes

Template.topicSearch.helpers    
   testResults: () ->
      dict = TopicIndex.getComponentDict()
      return dict.get('count')

and got "Exception in template helper: bindDataContext". However I I'm perfectly able to get data from this dictionary by using a console.

matteodem commented 7 years ago

What if you try the same without coffeescript? If that helps then I'd suggest checking out if other people had similiar problems