code: function colorizeRows(colorizer) {
    $('.data > tbody > tr').each(function(i, rowEl) {
      var row = $(rowEl);
      var item = row.data('item');
  
      var result = colorizer(item); // <-- Compiled function from Filtrex!
      row.find('.expression-result').text(result);
  
      // Map that to index in colorScale array.
      var colorIndex = Math.round((result / 2 + 0.5) * colorScale.length);
      // Ensure we don't overflow the array.
      colorIndex = Math.min(colorIndex, colorScale.length - 1);
      colorIndex = Math.max(colorIndex, 0);
      // Set bg color
      row.css('background-color', colorScale[colorIndex]);
      // Make fg color readable
      row.css('color', (Math.abs(result) > 0.5 ) ? 'white' : 'black');
    });
  }
docs: Given a higlighter function, call it on each row to
  determine if it needs to be highlighted.