Uauy-Lab / biojs-vis-expression-bar

MIT License
2 stars 5 forks source link

Dead code #46

Closed homonecloco closed 6 years ago

homonecloco commented 6 years ago

I got a warning on unreachable code, it is near here:

ExpressionBar.prototype.showHighithRow = function(){

  if(typeof this.selectionBox !== 'undefined'){

    if(this.opt.plot === "Ternary"){    // If it's a ternary plot only highlight the conditions
      return 0;
      this.selectionBox.attr('width', this.opt.labelWidth);
    }