0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 15:12:40 +00:00

Moved codemirror in the shared dir, new codeeditor seems to be working

This commit is contained in:
Scott Tolksdorf
2016-05-04 13:28:19 -04:00
parent 5ba8489a42
commit 582602740f
246 changed files with 49222 additions and 6 deletions

View File

@@ -18,6 +18,8 @@ var Navbar = require('../navbar/navbar.jsx');
var CodeEditor = require('naturalcrit/codeEditor/codeEditor.jsx');
@@ -83,14 +85,18 @@ var HomePage = React.createClass({
<div className='content'>
<SplitPane>
<Editor text={this.state.text} onChange={this.handleTextChange} />
<PageContainer text={this.state.text} />
<CodeEditor />
<CodeEditor language='gfm' />
</SplitPane>
</div>
{/*
<a href='/homebrew/new' className='floatingNewButton'>
Create your own <i className='fa fa-magic' />
</a>
*/}
</div>
);
}
@@ -98,6 +104,17 @@ var HomePage = React.createClass({
module.exports = HomePage;
/*
<SplitPane>
<PageContainer text={this.state.text} />
<Editor text={this.state.text} onChange={this.handleTextChange} />
</SplitPane>
*/
/* Test code
<div className='content'>