[GH-ISSUE #77] Blaze.renderWithData highlighting #63

Closed
opened 2026-05-05 15:00:51 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @rmuratov on GitHub (Dec 7, 2015).
Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/77

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.

Originally created by @rmuratov on GitHub (Dec 7, 2015). Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/77 ![blazerenderwithdata](https://cloud.githubusercontent.com/assets/4287685/11620719/7c4ee280-9cc6-11e5-839c-a5c3ab1a3455.png) In [CoffeeScript grammar](https://github.com/awatson1978/meteor-api/blob/master/grammars/meteor-api-grammar-coffeescript.cson) need to swap `Blaze.render` and `Blaze.renderWithData`: ``` javascript { '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.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/meteor-api#63
No description provided.