mustache-express.js
function consolidatePartials(arr) {
	var partialsSet = {};
	arr.forEach(function(item) {
		item.partials.forEach(function(partial) {
			partialsSet[partial] = true;
		});
	});
	return Object.keys(partialsSet);
}
function consolidatePartials(arr) {
	var partialsSet = {};
	arr.forEach(function(item) {
		item.partials.forEach(function(partial) {
			partialsSet[partial] = true;
		});
	});
	return Object.keys(partialsSet);
}
function consolidatePartials ( arr ) { var partialsSet = { } ; arr . forEach ( function ( item ) { item . partials . forEach ( function ( partial ) { partialsSet [ partial ] = true ; } ) ; } ) ; return Object . keys ( partialsSet ) ; }
Using the return data from all of the files, consolidate the partials into a single list
Using the return data from all of the files consolidate the partials into a single list