thomaswilburn/Caret — pull request #242 by benfredwells (2014-06-13 02:49:35+00:00)
Title: Use .indexOf instead of regex to stop duplicates in palette search

Can't see any performance issues this way, and it is more obvious what's going on.