JsRender: Data Arrays

Data:

var people = [
    {
        firstName: "Jeff"
    },
    {
        firstName: "Rebecca"
    }
];

Script:

// An array renders once for each item (concatenated)
var html = $.render.personTmpl( people );

// Insert as HTML
$( "#details" ).html( html );