From 94b7cdcae08ba7040d4bd4fe31da7b90d8cd27b1 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Thu, 22 Feb 2018 19:27:30 +0000 Subject: [PATCH] Fix linting --- services/web/public/es/rich-text.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/public/es/rich-text.js b/services/web/public/es/rich-text.js index 14399c1663..f87cb46339 100644 --- a/services/web/public/es/rich-text.js +++ b/services/web/public/es/rich-text.js @@ -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