index.js
function makeHierarchyList( classes ) {
	if ( classes.length === 0 ) {
		return '';
	} else {
		var className = classes.shift();
		return '<ul><li>' + linkTo( className ) + ' ' + makeHierarchyList( classes ) + '</li></ul>'
	}
}
function makeHierarchyList( classes ) {
	if ( classes.length === 0 ) {
		return '';
	} else {
		var className = classes.shift();
		return '<ul><li>' + linkTo( className ) + ' ' + makeHierarchyList( classes ) + '</li></ul>'
	}
}
function makeHierarchyList ( classes ) { if ( classes . length === 0 ) { return '' ; } else { var className = classes . shift ( ) ; return '<ul><li>' + linkTo ( className ) + ' ' + makeHierarchyList ( classes ) + '</li></ul>' } }
Recursive function that creates a nested list of a class' parents.

@param {string[]} classes Array of class' parent's names
@returns {string} HTML string of a `<ul>`
Recursive function that creates a nested list of a class parents .