src/g/zoomer.js
function(max) {
    // TODO!
    // make seqlogo height configurable
    var val = this.getMaxAlignmentHeight();
    if (max !== undefined && max > 0) {
      val = Math.min(val, max);
    }

    return this.set("alignmentHeight", val);
  }
function(max) {
    // TODO!
    // make seqlogo height configurable
    var val = this.getMaxAlignmentHeight();
    if (max !== undefined && max > 0) {
      val = Math.min(val, max);
    }

    return this.set("alignmentHeight", val);
  }
function ( max ) { // TODO! // make seqlogo height configurable var val = this . getMaxAlignmentHeight ( ) ; if ( max !== undefined && max > 0 ) { val = Math . min ( val , max ) ; } return this . set ( "alignmentHeight" , val ) ; }
max is the maximal allowed height
max is the maximal allowed height