modules/templates/build.js
function list (builder, node) {
	finishPending (builder);

	var key = node [1];
	var sub = subBuilder (builder);

	dispatch.nodes (sub, builder.dispatch, node, 2, node.length);

	var template = getTemplate (sub);
	appendNode (builder, spec.listNode (key, template));
}
function list (builder, node) {
	finishPending (builder);

	var key = node [1];
	var sub = subBuilder (builder);

	dispatch.nodes (sub, builder.dispatch, node, 2, node.length);

	var template = getTemplate (sub);
	appendNode (builder, spec.listNode (key, template));
}
function list ( builder , node ) { finishPending ( builder ) ; var key = node [ 1 ] ; var sub = subBuilder ( builder ) ; dispatch . nodes ( sub , builder . dispatch , node , 2 , node . length ) ; var template = getTemplate ( sub ) ; appendNode ( builder , spec . listNode ( key , template ) ) ; }
process 'list' spec node
append 'list' template node
@param builder template builder
@param node the spec node
should contain at least 2 items:
key of the list items
the spec nodes of the template used to render the list items
process list spec node append list template node