marijnh/CodeMirror2 — pull request #242 by Page- (2011-11-09 16:36:38+00:00)
Title: Define and use an arrayContains function.

Define and use an arrayContains function rather than directly using array.indexOf, this fixes the auto completion demo in IE6/7/8.

I did it this way rather than creating Array.prototype.indexOf when it doesn't exist as I expect you would rather not modify the Array prototype? However if you would rather I did it that way I can create a pull request for that instead.