bmschmidt/colorbar — pull request #1 by Enucatl (2014-04-22 14:35:55+00:00)
Title: Update colorbar.js

The check for the scale type was wrong (it had the same condition twice). I here check through the mathematical properties of the different scale types.