meteor icon indicating copy to clipboard operation
meteor copied to clipboard

Handlebars version update

Open sdossick opened this issue 14 years ago • 70 comments

It's a drop hard to tell what version of Handlebars the current templating system is based on. More recent versions of Handlebars support nice-to-have things like an @index context-dependent accessor so you can tag the index number of elements of an array you're {{each}}-ing through.

An update to the latest RC of handlebars would be great, as would some docs on how to Spark-ify our own versions of handlebars or other templating systems.

sdossick avatar Nov 18 '12 18:11 sdossick

@sdossick, thanks for this. You're asking for three things here, all of which we should do:

  1. Better document the version of Handlebars that Meteor supports
  2. Extend Meteor's Handlebars implementation with the new features (@index sure does sound nice)
  3. Make templating system implementations fully pluggable (it's close but not quite there yet -- I suppose we need something like a 'language' attribute on