1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2026-01-04 05:29:14 +00:00

Added new lexer for handling the new block syntax

This commit is contained in:
Scott Tolksdorf
2017-01-12 01:19:08 -05:00
parent 97c0443c76
commit c8b089f7fb
4 changed files with 53 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ var CodeEditor = React.createClass({
value : this.props.value,
lineNumbers: true,
lineWrapping : this.props.wrap,
mode : this.props.language
mode : this.props.language,
});
this.codeMirror.on('change', this.handleChange);