client/components/conveyal/transitive.js/master/lib/display/legend.js
Function render
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Legend.prototype.render = function(legendSegments) {
d3.select(this.el).selectAll(':not(.doNotEmpty)').remove();
this.x = this.spacing;