lib/modifiers/summary/indexLevels.js
function indexLevels(summary) {
    var parts = summary.getParts();
    parts = parts.map(indexPartLevels);

    return summary.set('parts', parts);
}
function indexLevels(summary) {
    var parts = summary.getParts();
    parts = parts.map(indexPartLevels);

    return summary.set('parts', parts);
}
function indexLevels ( summary ) { var parts = summary . getParts ( ) ; parts = parts . map ( indexPartLevels ) ; return summary . set ( 'parts' , parts ) ; }
Index all levels in the summary

@param {Summary}
@return {Summary}
Index all levels in the summary