lib/utils.js
function findPartials(fragment) {
	var found = [];

	walkRecursive(fragment.t, function(item) {
		if (item.t === 8) {
			found.push(item.r);
		}
	});

	return _.uniq(found);
}
function findPartials(fragment) {
	var found = [];

	walkRecursive(fragment.t, function(item) {
		if (item.t === 8) {
			found.push(item.r);
		}
	});

	return _.uniq(found);
}
function findPartials ( fragment ) { var found = [ ] ; walkRecursive ( fragment . t , function ( item ) { if ( item . t === 8 ) { found . push ( item . r ) ; } } ) ; return _ . uniq ( found ) ; }
Return a list of all partials used in the given template

@param {Array|Object} fragment
@returns {Array|Object}
@private
Return a list of all partials used in the given template