documentcloud/underscore — pull request #667 by ianb (2012-07-11 03:12:06+00:00)
Title: Make _.include/_.contains work with strings.

This makes `_.include()` / `_.contains()` work with strings in addition to collections.

Note `String.contains` is a proposed method for Harmony: http://wiki.ecmascript.org/doku.php?id=harmony:string_extras – also it's really just another indexOf check, so it seems to make sense.

String.indexOf is present in Javascript 1.0, so a method identity check seemed unnecessary.

I wasn't sure where a doc change would go.