awatson1978/meteor-api

Blaze.renderWithData highlighting

Closed this issue · 0 comments

blazerenderwithdata

In CoffeeScript grammar need to swap Blaze.render and Blaze.renderWithData:

  {
    'match': '(Blaze.render|Blaze.renderWithData|Blaze.remove|Blaze.getData|Blaze.toHTML|Blaze.toHTMLWithData|Blaze.isTemplate)'
    'name': 'api.meteor.blaze'
  }

The same for Blaze.toHTML and Blaze.toHTMLWithData. Not sure about other grammars.

Oh, Template.onCreated also...Only Templated.created highlighted (as well as destroyed, rendered). Have no time for PR, unfortunately, may be later.