Fix linting

This commit is contained in:
Alasdair Smith 2018-02-22 19:27:30 +00:00
parent 61a60c04a6
commit 94b7cdcae0

View file

@ -1,10 +1,10 @@
import CodeMirror, { Doc } from 'codemirror'
export function init(rootEl) {
export function init (rootEl) {
return CodeMirror(rootEl)
}
export function openDoc(cm, content) {
export function openDoc (cm, content) {
const newDoc = Doc(content)
cm.swapDoc(newDoc)
return newDoc