From 27470a90a34f59846d167e7c7fa7530285d56859 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Thu, 31 May 2018 21:21:42 -0700 Subject: [PATCH] Clean up custom modes --- lib/custom/modes/elixir.js | 4 +--- lib/custom/modes/graphql.js | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/custom/modes/elixir.js b/lib/custom/modes/elixir.js index 4f83056..0bf89e1 100644 --- a/lib/custom/modes/elixir.js +++ b/lib/custom/modes/elixir.js @@ -1,5 +1,3 @@ /* eslint-disable */ -import CodeMirror from 'codemirror' - // Require Codemirror elixir mode from npm modules and register it here -import registerElixirMode from 'codemirror-mode-elixir' +import 'codemirror-mode-elixir' diff --git a/lib/custom/modes/graphql.js b/lib/custom/modes/graphql.js index 9545e0c..8cc222d 100644 --- a/lib/custom/modes/graphql.js +++ b/lib/custom/modes/graphql.js @@ -1,3 +1,2 @@ /* eslint-disable */ -import CodeMirror from 'codemirror' import 'codemirror-graphql/mode'