Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"use strict";
var React = require('react')
, ReactCM2 = require('react-codemirror2')
, Controlled = ReactCM2.Controlled
, UnControlled = ReactCM2.UnControlled
, CodeMirror = require('codemirror')
, ipcRenderer = require('electron').ipcRenderer
;
require('codemirror/addon/dialog/dialog');
require('codemirror/addon/search/search');
require('codemirror/addon/search/searchcursor');
require('codemirror/addon/search/jump-to-line');
require('codemirror/addon/mode/overlay');
require('codemirror/mode/markdown/markdown');
require('codemirror/mode/yaml/yaml');
require('codemirror/mode/yaml-frontmatter/yaml-frontmatter');
require('codemirror/addon/edit/continuelist');
var editor
, onEditorDidMount = function(props, ed) {