BorisMoore/jsrender — Issue #9: Array of Data w/o Full Template Duplication
Author: jeffrose
Created: 2011-10-21 13:15:03+00:00
State: open

As demonstrated in Demo 1 (https://github.com/BorisMoore/jsrender/blob/master/demos/step-by-step/01_inserting-data.html), when an array of data is passed to a template that template gets duplicated. Is it possible to simply iterate through the data and only duplicate part of the template?

Using Demo 1 as a basis, something like: