From 70dbd1b32d13d30e15c03ee91b0fab7bfdf429b3 Mon Sep 17 00:00:00 2001
From: Maximilian Hils <git@maximilianhils.com>
Date: Mon, 25 Jul 2016 17:03:50 -0700
Subject: web: refactor ContentLoader

---
 web/src/js/components/common/CodeEditor.jsx | 21 ---------------------
 1 file changed, 21 deletions(-)
 delete mode 100644 web/src/js/components/common/CodeEditor.jsx

(limited to 'web/src/js/components/common/CodeEditor.jsx')

diff --git a/web/src/js/components/common/CodeEditor.jsx b/web/src/js/components/common/CodeEditor.jsx
deleted file mode 100644
index 95f1b98b..00000000
--- a/web/src/js/components/common/CodeEditor.jsx
+++ /dev/null
@@ -1,21 +0,0 @@
-import React, { Component, PropTypes } from 'react'
-import { render } from 'react-dom';
-import Codemirror from 'react-codemirror';
-
-
-CodeEditor.propTypes = {
-        content: PropTypes.string.isRequired,
-        onChange: PropTypes.func.isRequired,
-}
-
-export default function CodeEditor ( { content, onChange} ){
-
-    let options = {
-        lineNumbers: true
-    };
-    return (
-        <div onKeyDown={e => e.stopPropagation()}>
-            <Codemirror value={content} onChange={onChange} options={options}/>
-        </div>
-    )
-}
-- 
cgit v1.2.3

