marijnh/CodeMirror — pull request #1125 by mhils (2012-12-30 22:28:38+00:00)
Title: Enable JS autocomplete on other variable types.

mode-javascript sets "variable-2" or "variable-3" types in addition to "variable". They should trigger autocompletion, too.

Test case:
function(obj.