benatkin/codemirror-mode-javascript — pull request #1 by stephenmathieson (2013-06-03 20:14:57+00:00)
Title: return the CodeMirror instance

by returning the instance, we're enabling this behavior:

```js

var codemirror = require('codemirror')
codemirror = require('codemirror-mode-javascript')(codemirror);

codemirror.fromTextArea(…)

```

which should allow for multiple "modes" to be defined in the same CodeMirror instance