in src/main/jbake/assets/js/tree.jquery.js [427:445]
HitAreasGenerator.prototype.generateHitAreas = function(positions) {
var group, hit_areas, j, len, position, previous_top;
previous_top = -1;
group = [];
hit_areas = [];
for (j = 0, len = positions.length; j < len; j++) {
position = positions[j];
if (position.top !== previous_top && group.length) {
if (group.length) {
this.generateHitAreasForGroup(hit_areas, group, previous_top, position.top);
}
previous_top = position.top;
group = [];
}
group.push(position);
}
this.generateHitAreasForGroup(hit_areas, group, previous_top, this.tree_bottom);
return hit_areas;
};