harvesthq/chosen — pull request #821 by Goutet (2012-09-19 13:41:02+00:00)
Title: Add an option to disable search on separate words

When search regex on the whole option text fails, chosen tries to split words and rerun regex on each of the option text words.
I added an option to disable this behaviour when not necessary, that you may find interesting.

Are one line conditions wanted? I think JSLint (and cake and myself) favor the block style writing of "if" for non minified js.