Update lib/codemirror-adapter.js